It's a diagram. --> http://i55.tinypic.com/3354ffn.png

I don't get this. My answer would be
x^2 = 64 + 36
x^2 = 100
x = sqrt100
x = 10

But my teacher said it's wrong. So what's the correct answer?