m1u1+m2u2=m1v1+m2v2