The magnitude of vector A is 18.0 units and points in the direction 335° counterclockwise from the positive x-axis. Calculate the x- and y-components of this vector.

as always,

x = r cosθ
y = r sinθ