determine the magnitude of the acceleration of the two masses and the tension in the spring(assume m2>m1)?

1 answer

F=ma
Other than that, I see no way to help, since you provide no information.