The lengths of the sides of a triangle are in the ration 3:5:7. its perimeter is 120 cm. find the length of the longest side of the triangle