You have, on the left hand side, 10 Newtons... or 10 kg*m/(s^2) and that is going to be equal to the mass... which is 2 kg... times the acceleration and then to solve for the acceleration, you just divide both sides by 2 kg