How do you figure out X using sin?
http://www.mathwarehouse.com/trigonometry/sine-cosine-tangent-practice3.php
Hopefully this helps!