Given the following two equations:

m1*u = m1*v1 + m2*v2

m1*u^2 = m1*v1^2 + m2*v2^2

Taking this as a simultaneous equation, and taking x as v1 and y as v2. How would you find x and y? I.e. How would you isolate v1 in terms of the other variables without using v2.

I'm not sure whether my algebra is lacking or what, but I started off finding a v2 = equation and substituting to cancel out the v2. However I keep getting a v1 and v1^2 and I am unable to group them together.

Thanks in advance, please show working~