Find component of vector →A along the direction of →B i.e. A||B and in perpendicular direction of →B that is A⊥B.
A||B = 3√3;A⊥B=3
So, we need to resolve the vector A along the direction of B and perpendicular to it.
Angle between A & B is 30∘
So component along the direction B is using trigonometric ration
6cos30∘ = compound of A along B = 3√3 component of A perpendicular to B = 6 sin30∘ = 3