I am need help to solve. I am not understanding the step process.

We are given the following information
and told to find x. Recall that this is a right triangle, so to solve the problem we will use trigonometry. Recall that for a right triangle we have the following
For the given angle, its cosine is defined as follows
[tex]\cos (\text{angle)}=\frac{a}{c}[/tex]In our case we have a=x, c=18 and the angle is 12°. So we get
[tex]\cos (12)=\frac{x}{18}[/tex]By multiplying both sides by 18, we get
[tex]x=18\cdot\cos (12)[/tex]using a calculator, we get
[tex]x=18\cdot\cos (12)\approx16.607[/tex]So x is approximately 16.607 m