To begin with, we need to figure out where the two planes are located in the diagram. Points A, B, and C are all on the bottom face of the cuboid. Therefore, when we extend that face in all directions, we obtain plane ABC. Similarly, plane DHG is the right face of the cuboid extended in all directions.
These planes intersect at the right border of the bottom face (or the bottom border of the right face!). This occurs along the line which connects points D and C, DC.