So we want velocities on the left side and masses on the right side. We get the following formula v one squared divided by V two squared equals m two squared over m one squared. And finally, let's take the square root of both sides. What we get is these twos cancel. Well, that's v one over V two. And then we have the square root of m two divided by square root of m one.