Figure 6.187 shows a pulley over which is string passes and connected to two masses A and B. Pulley moves up with a velocity Vp and mass B is also going up at a velocity Vb.