SSS theorem: If two triangles have three pairs of sides in the same ratio, then the triangles are similar.
Write the ratio between the smallest sides, between the greatest sides and between the middle sides and compare the results:
This gives you that
[tex]\dfrac{EF}{AB}=\dfrac{EG}{AC}=\dfrac{GF}{CB}=180.[/tex]
By SSS theorem triangles ABC and EFG are similar with scale factor 180.