The side marked x is the hypotenuse in the right-angled triangle and the side of length 16 is the adjacent to the angle of 20.
By writing the quotient for cos20, we obtain the relation
cos20=x16
and this gives
x=16cos20170