The hypothenuse of a right triangle is 1m longer than twice one of the legs. The other leg of the triangle is 15m. Find the lengths of the unknown leg and hypothenuse.

That's the question.

I make a triangle with the hypothenuse as 2x+1, one side as 15, and the last side as X. The teacher said to use pythagoras but after I put it in A^2+B^2=C^2 I don't know what to do. Could anyone help me out.