with different speeds u1 and u2