Answer:
The acceleration of the object was 3.5 m/s².
Step-by-step explanation:
Let the direction of the horizontal force be positive.
By Newton's second law, the sum of the horizontal forces is as follows:
![\displaystyle \sum F_x = F_A - F_k = ma](https://img.qammunity.org/2023/formulas/physics/college/7ubidbzgcoptz6p5lzzxupfbw7h5nhdth6.png)
Where Fk is the frictional force and FA is the horizontal force.
Substitute in known values and solve for acceleration a:
![\displaystyle \begin{aligned} (40\text{ N}) - (5\text{ N}) & = (10\text{ kg})a \\ \\ a &= 3.5\text{ m/s$^2$}\end{aligned}](https://img.qammunity.org/2023/formulas/physics/college/v8s36p5omlfzpij625kdx1k5hir82r1543.png)
Hence, the acceleration of the object was 3.5 m/s².