Where in the question does it say the height cant be one of the sides. Any answer other than the one PHILIP gave is impossible.
I am afraid this question is an old chestnut which is intended to test logic as well as mathematics. Too many of you appear to have been hanging onto the mathematics, rather than, as was put earlier, (and I am sure we all remember being told), reading the question.
Well done PHILIP. The rest of you, detention I am afraid.
Can we all go to bed now?