In this problem we are dealing with the collision, and the law of conservation of linear momentum could be applied. The problem asks us about the velocity. Velocity is a vector, hence has magnitude and direction; so, we have to find both of them! We know that m1 = 60 g, v1 = 10 cm/s, m2 = 50 g, v2 = - 12 cm/s, u1 = - 8 cm/s. It is interesting that for this problem we do not convert units to SI, because final answer could be given in cm/s.
Let select the x-axis in the direction of motion of the first body to the right.
Then the law of conservation of linear momentum in scalar form could be written as following:
m1v1 - m2v2 = - m1u1 + m2u2x ,
here u1 and u2x projections of the velocities of the marbles after collision respectfully.
Because we don't know the direction of the velocity of the second body after collision, I wrote u2x. The sign of the projection of velocity u2 will tell us its direction after collision.
Solving against u2x, gives us
u2x = (m1(v1 + u1) - m2v2) / m2
If you plug in all numbers into this equation, you should get an answer + 9.6 cm/s. The plus sign tells us that after collision the body will change the direction of its motion to opposite, it means in the direction of x-axis.
Answer: 9.6 cm/c in the opposite direction of its initial motion