Respuesta :

just use trigonometry.
sin(x)=opp/hyp
cos(x)=adj/hyp
tan(x)=opp/adj
Ver imagen jinc0930