(a) $u \cos\theta = v$ is correct. The point of intersection of the 3 strings (which I shall call Y) is moving upwards with speed $u$. This point Y is at the end of the two strings attached to P and Q. Each string AY and BY is shortening at the speed $v$, so the component of velocity of Y along the direction of each string must be $v$. Therefore $v=u\cos\theta$ is correct.
(b) $u=v\cos\theta$ is not correct. The point at which the string is attached to pulley P (I shall call this point A) is moving with velocity $v$ at angle $\theta$ to the vertical. However, the motion of Y is not the same as the motion of A. As well as moving with speed $v$ in the direction AY, the string AY is also rotating about point A. The angle $\theta$ is changing. So the motion of Y (at the other end of the string AY) is the sum of the radial component along AY and a tangential component perpendicular to AY. Writing $u=v\cos\theta$ ignores this tangential motion of Y perpendicular to AY.
The difference between (a) and (b) is that in (a) the point Y has no motion perpendicular to the vertical, whereas in (b) the point Y does have a component of motion perpendicular to AY.
If the section of string AY did not rotate but kept a constant angle $\theta$ with the vertical, then the points A and Y would have the same velocity, in terms of direction as well as magnitude. In this case $u=v\cos\theta$ would be correct. However, Y would not be moving vertically in this case. It would be moving along AY. It cannot move along BY and AY at the same time, because then Y would have to split apart.
Note that if the masses P and Q do not move with the same speed $v$ (which could happen if they have different weights), or if the angles $\theta$ on each side of the vertical are different (which could happen if Y is not on the mid-line between A and B), then the velocity of Y will not be vertical. As a result, neither $v=u\cos\theta$ nor $u=v\cos\theta$ will be correct.
m
). Would you expect the speed to be 1000 v cos θ ? $\endgroup$