Draw the diagram out. You have a vector extending out into the 3rd quadrant with a magnitude of 3, draw the x and y component to form a right triangle. Notice that this triangle has an angle of 60 degrees. Use simple trigonometry to figure out the a and b.