Two rectangles have equal area.

The length of the first is (root2-10) and the width is the same.

The second rectangle has width root3.

Find the length of the second rectangle. Give the answer is the form p(root3).

I tried:

calling the unknown side x...

(root10 - 2) (root10 - 2) = root3 (x)

10 - 4root10 + 4 = root3 (x)

...but can't see how to find answer. Help!

PS how do I show square root using latex?