the lengths, in centimetres, of the sides of a right-angled triangle are:

x, x+2 and x+5

i) use pythagoras' theorem to write down an equation in x. show that it simplifies to

x^2-6x-21=0

ii) solve the equation

iii) write down the length of hypotenuse of the triangle.