The net force on an object subject to friction is equal to the sum of the applied force and the frictional force.
Mathematically,

Here, m is mass of object and a is its acceleration. We take frictional force negative because it opposes the motion of object.
Given,
,
and

Substituting these values in above formula, we get
.
Thus, the acceleration of an object is
