In the arrangement shown in the Fig, the ends P and Q of an unstretchable string move downwards with uniform speed U. Pulleys A and B are fixed.
Mass M moves upwards with a speed
A. `2Ucostheta`
B. `Ucostheta`
C. `(2U)/(costheta)`
D. `(U)/(costheta)`