Im so stupid please help me!

The cosine is equal to the adjacent length divided by the hypotenuse (in respect to the angle given). The length adjacent to F is 3 and the hypotenuse is unknown. This means that the cos of F = 3/x or 3/hypotenuse
(And you're not stupid)