(solve for vf) m1v1+m2v2=m1vf+m2vf
For simplicity, let a=m1v1, b=m2v2a + b = vf (m1 + m2)vf= (a+b)/(m1+m2)