contestada

What is the value of x in the diagram?
A right angled triangle with base 2x+2, altitude x and hypotenuse 2x+3.