Hi,
we have to begin with the definition of Newton's 2nd Law.
I assume you are in O levels, so the definition would be the
resultant force on an object is equal to the mass times the
acceleration of the object.
Next, draw the free body diagram of the object. 10N is the
forward force, while 4N is the resistive force. This leaves us with
a resultant force of 10 - 4 = 6N.
Since F = ma, where F = 6 and m = 2, this leaves us with a =
3.
Hope this answers your questions :)