If the given triangles △ABC and △PQR are similar, find the lengths of the sides x and y.
Triangle ABC has side of length 5, 6 and 7 units, while triangle PQR has a perimeter of 360 units when will ΔABC similar to ΔPQR? And hence find the sides of the triangle PQR.