In the above solution posted for the question actually resolves the vector U into horizontal and vertical componesnt.
To make it more clear,
The horizontal component of any vector can be found out by multiplying the magnitude of the vector multiplied the cos of the angle made by the horizontal.
Similarly,The vertical component of any vector can be found out by multiplying the magnitude of the vector multiplied the sine of the angle made by the horizontal.
Here the values given in the brackets are horizontal and vertical components of the vector.
To solve the question ,
resolve U and V into horizontal and vertical components and add it as rectangular componests(i.e in terms of i and j)
Then add and subtract accordingly and find resaultant to get the answer of the question.
Hope it helps!!
Piyush Kumar Behera
IIT (ISM) Dhanbad