In the figure shown, lower pulley is free to move in vertical direction only. Block A is given a uniform velocity u as shown, what is velocity of block B as a function of angle θ.