A force of 50.0 N directed to the right acts on an object with a mass of 10.0 kg. Friction is 30.0 N. What is the magnitude of the resultant acceleration of the object

Force = F = 50 N (right)
mass = m = 10 kg
Friction force = Fr = 30N
a = acceleration
Apply Newton's Second Law:
∑F = m a
F - FR = m * a
replacing:
50 - 30 = 10 * a
20 = 10 *a
20/10 = a
a = 2 m/s^2