now, the picture looks a bit misleading, the angle on the bottom-right corner doesn't look at all like a 20° angle, so let me assume the 20° angle is the angle up above, like you see in the picture below, because that looks like a 20° one, and the number there, is not very clear which one is pointing to.
![\cos(64^o )=\cfrac{\stackrel{adjacent}{h}}{\underset{hypotenuse}{18}}\implies 18\cos(64^o)=h \\\\[-0.35em] ~\dotfill\\\\ \cos(20^o )=\cfrac{\stackrel{adjacent}{h}}{\underset{hypotenuse}{x}}\implies x=\cfrac{h}{\cos(20^o )}\implies x=\cfrac{18\cos(64^o)}{\cos(20^o )}\implies x\approx 8.4](https://img.qammunity.org/2023/formulas/mathematics/high-school/epqgh44tx46k15gzg5i0eeeg7w6hbc4ert.png)
Make sure your calculator is in Degree mode.