A simple atwood's machine uses two masses, m1 and m2. starting from rest, the speed of the two masses is 2 m/s at the end of 5 s. at that instant, the kinetic energy of the system is 87 j and each mass has moved a distance of 5 m. determine the values of m1 and m2.