To solve this problem we will use the Pythagorean theorem twice:

where c is the length of the hypotenuse and, a, and b are the lengths of the legs.
Now, from the triangle OPD, we get ( we will omit the units to simplify the calculations):

Notice that OD is a radius of the circle, therefore OD=1, and OP=OC+CP=1+CP, then we can rewrite the above equation as:

Analogously, we get that:

Therefore,

Answer:
