if you look at the lines, it tells you that lines CD and FG are parallel. using the interior angles theorem, you can conclude that angle C and angle G are congruent. you can also conclude angle E of both triangles are congruent because they are vertical angles. since you have two angles that are congruent, you can say that the triangles are similar.