Hello Swati ,
The component of the vector A along B geometrically is: Acos(theta) x unit vector B (Since Acos(theta) will only give the magnitude,we need to multiply it By the direction of B iee.Unit vector B inorder to get vector A in B direction)
We know that A.B = |A||B|cos(theta)
Thus |A|cos(theta) x Unit vector B =( A.B/|B| ) B(cap)
= {(2i^+ 3j^).( i^ + j^. )/√2 } (i^ + j^. )
=5(i + j)/√2