The diagram below shows the graph of a function along with points and ,
which lie on the graph. Point is chosen so that is a right
triangle. (Click on the graph to display a larger version.)
In terms of , , and , give the lengths of the legs of this right triangle.
has length .
has length .
You can earn partial credit on this problem.