Relative motion

If block $$A$$ is moving horizontally with velocity $$v_{A}$$, then find the velocity of block $$B$$ at the instant as shown.

×