Answer
8 units
Explanation
The side of one of the squares is the same length as one of the legs on the triangle.
To find one side of the square, you need to find the square root, because to find the area of a square, you need to square the sides. To find one side, you do the opposite.
So the length of one side is the square root of 32.
Now don't worry that this is a weird number (which is 5.656854249...) because we'll be squaring it again.
The length of one side of the square is the leg of a right triangle.
To find the hypotenuse (or the longest side), you need to use the Pythagorean theorem.
The square root of 32 squared is 32.
To find h, you need to find the square root. The square root of 64 is 8.
Therefore, the length of x is 8 units.