The perimeter of a triangle is 90 cm. The lengths of the sides of the triangle are in the ratios 3:5:7 Work out the length of the longest side of the triangle.