Respuesta :

I believe that you would multiply by cosX and then add one......
its kinda the same .. but you have to watch out for the 1