The composite function is .
The functions are and .
Substitute and .
.
Let then .
\ \ and .
From the above conditions lies in the first quadrant.
Apply Pythagorean theorem: