Cut the square to similar unequal triangles!

Two solutions are found up to now.

1. Here is John Berglund's 7_triangles_solution:

I've just added the picture, and
the equation for x.

2. Here is Dan Hoey's 7_triangles_solution:

I've just added the picture, and
the equation for x.