In a right-angled triangle one acute angle is θ such that cosθ=135. The perimeter of the triangle is 54 cm.
a. (i) Express the three sides of the triangle in terms of a single variable using the given ratio.
b. (ii) Form an equation in that variable using the perimeter and solve it.
c. (iii) Hence determine the exact lengths of all three sides of the triangle.