I have the question "Resolve the forces acting on the following objects into their vertical and horizontal components and thus find the vertical and horizontal components of their resultant force.

The solutions say that the answer should be:

And I know that I have to use trigonometry but I am not sure how the answer is achieved.