initially, explain Pythagorean's Theory --> a^2 + b^2 = c^2.explain c is the hypotenuse, a and b can be either base or height.using a as base and b as height, a = 2x+1. b = h. c = 3xsubstitute into formula:(2x+1)^2 + h^2 = 9x^2expanding brackets (using FOIL):4x^2 + 4x + 1 + h^2 = 9x^2rearranging so h^2 is the subject:h^2 = 5x^2 - 4x - 1