Net force acting on mass = 20 - 15 = 5N. ( subtracted cuz friction always opposes the motion i.e it always acts in direction opposite to the motion of the object). According to Newton's 2nd law of motion, F(net) = ma. a =F (net) / m = 5/10 = 0.5 m/s^2. Hope it helps :)