Velocity B (relative to the A) = Velocity B (relative to the ground) - Velocity A (relative to the ground)
Velocity B (relative to the ground) = Velocity B (relative to the A) + Velocity A (relative to the ground)
Velocity B (relative to the ground) = 7.5 + 5 = 12 m/s
Since both go up in the same direction, we should use the minus sign for relative velocity.