The vector -5.2A⃗ has a magnitude of 40m and points in the positive x direction.

Find the x component of the vector A⃗ ?

I do not understand how I am supposed to figure this out with just having the magnitude of the vector. Shouldn't there be an angle or another component provided? What effect does the -5.2 have?