The best way to do it is to draw the right triangle.
You are given the hypotenuse of the right triangle, and the angle from the origin.
You have right triangle.
Hypotenuse is 4618.63
The angle inside the triangle is 180°-170.7°=9.3°
You need to find the R part and X part.
cos(9.3°)=R part/hypotenuse
cos(9.3°)=R part/4618.63
R part= 4618.63*cos(9.3°)
This gives you the magnitude of R part.
Since R part lies on the left of the origin, it will have negative sign.
You should be able to figure out the X part on your own.