Math entrance exam question. Right triangles