ANSWER
The correct answer is option D.
![a = (F)/(m)-g](https://img.qammunity.org/2019/formulas/mathematics/high-school/39igp2gfnoo52ukftsr6guqmekfhckshn1.png)
EXPLANATION
The given formula is
![F = mg + ma](https://img.qammunity.org/2019/formulas/mathematics/high-school/8fmmpk40hap9thxxmcl977k8opknlxolk9.png)
We want to solve this formula for a, so we add
![- mg](https://img.qammunity.org/2019/formulas/mathematics/high-school/tzdpazwmus6jhj1in58p5wflmatb47cspb.png)
to both sides of the equation to get,
![F - mg=ma](https://img.qammunity.org/2019/formulas/mathematics/high-school/duvbynpvah68hlzyo1461disyar48h7p45.png)
We now divide through by m, to obtain,
![(F)/(m) - (mg)/(m) = (ma)/(m)](https://img.qammunity.org/2019/formulas/mathematics/high-school/qavsj0x3cj9ymyz7u31a0ud69ugas7b48m.png)
Let us cancel out the common factors to get,
![(F)/(m) - g =a](https://img.qammunity.org/2019/formulas/mathematics/high-school/2kp2mrde6k4dvm3g8l4kf1135mllcftp7h.png)
We can also rewrite this to obtain,
![a = (F)/(m)-g](https://img.qammunity.org/2019/formulas/mathematics/high-school/39igp2gfnoo52ukftsr6guqmekfhckshn1.png)
Therefore the correct answer is D.