Hello,

I've attached a picture too.

You have 2 congruent right triangles whose legs are x and y.

Additionally there is a right triangle with the hypotenuse x and one leg has the length 6'' (in orange).

You'll get:

With the grey right triangle you get:

Replace x by the first term:

Simplify: