Answer:
24 N
Step-by-step explanation:
The force on the body due to gravity is ...
F = mg = (2 kg)(10 m/s²) = 20 N
in the downward direction.
The net force on the body required to accelerate it upward at 2 m/s² is ...
F = ma = (2 kg)(2 m/s²) = 4 N
The tension in the string must be enough to overcome the force due to gravity and provide a net force upward.
-20 N + T = 4 N
T = 24 N
The tension in the string is 24 newtons.
_____
Additional comment
Here, "m" is used to represent both mass and meters. In the force formula, it is mass. In the units for acceleration, it is meters.