Let

so now we can construct a right triangle with an acute angle , where the opposite side to that angle is and the hypotenuse is 1. thus, by Pythagoras' theorem, we can find the adjacent side, which will be

Now, finally, we can say, ?? that final piece is for you

you can try a similar method for the second