You need to use SOHCAHTOA. Sin (opposite/hypotenuse) Cos (adjacent/hypotenuse) Tan (opposite/adjacent)
For the first photo, you would use Tan( opposite/adjacent) 4/x = tan(20) Then you just change the equation to have x on the side by itself. (4)(tan20) = x Then write that into the calculator.
For the second problem, you use Sin(opposite/hypotenuse) Sin(25)=x/10 Change the equation to have x by itself. Sin(25)(10)=x Then plug it into the calculator.