Given data:
Mass of block is,
![m=50\text{ kg}](https://img.qammunity.org/2023/formulas/physics/college/mwh2qtcla95c6z4lspwyhsx940n141e0fj.png)
Force -1 is,
![F_1=2.0\text{ N (towards left)}](https://img.qammunity.org/2023/formulas/physics/college/hb73u0ia0cznggfty7u2nn5w59ih6x9vky.png)
Force-2 is,
![F_2=12.0\text{ N (towards right)}](https://img.qammunity.org/2023/formulas/physics/college/a6hzt0yuh7aib0c5l7x8a8574urpmpqwkb.png)
Assume that, direction towrds right is +x direction and direction towrds left is -x direction.
Formula of acceleration is as follows:
![a=(F_(net))/(m)\ldots(1)](https://img.qammunity.org/2023/formulas/physics/college/ybcjjtk77eziry3jzzf3hodm2jjos2mjlc.png)
Here,
![F_(net)\text{ is net force applied on the block}](https://img.qammunity.org/2023/formulas/physics/college/2zqiujmua1mqo8mm9u0uigtfdfa38i4svw.png)
Now,
![F_(net)=-F_1+F_2](https://img.qammunity.org/2023/formulas/physics/college/fgj09lk3501y5caar8aaygtjkf9lsxk4wl.png)
Force-1 is negative. Because, direction of force-1 is towards left.
Hence,
![\begin{gathered} F_(net)=-2.0\text{ N+12.0 N} \\ F_(net)=+10.0\text{ N} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/jlmjj289sa813nkk67aq3kojrvensqk5c1.png)
Now, substitute known values in equation-(1),
![\begin{gathered} a=\frac{+10.0\text{ N}}{50\text{ kg}} \\ a=+0.2m/s^2 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/em87m5vd91wnk39fpil2jhx5bc5i7m667u.png)
Here, +ve sign indicates that direction of acceleration is towards right