Solve for x the polygons in each pair are similar

How do you know if a pair of polygons are similar?

Two polygons are similar if their corresponding angles are congruent and the corresponding sides have a constant ratio (in other words, if they are proportional).