Pythagoras with surds

Of course, even then, you couldn't use the mean proportional to solve the problem without first showing that it is a right triangle, which I did by using ABD to find the altitude and check it against the mean proportional, so it becomes a little circular.
I was assuming that it was meant to be a right triangle.
 
Top