The longest side of a triangle is 3 times the length of the shortest side. the remaining side is 35 cm longer than the shortest side, and the perimeter of the triangle is 175 cm. what are the side lengths of the triangle