There are two -main- approaches to answer this problem. By using the sine identity, or applying law of sines.
We'll do the sine trig. identity, as it is the most effective.
Given an angle '[tex] \alpha [/tex]' in a right triangle, '[tex]sin( \alpha )[/tex]' is defined as the opposite side of the triangle to the given angle, over the triangle's hypotenuse.
So, for this setup:
[tex]sin(20)= \frac{x}{10} [/tex]
Now, we solve for x:
[tex]x=10sin(20)=3.42[/tex]
So, answer is 3.4