Plz help me and how do I calculate “joules” to get my answer...?

Answer:
20 Newtons
Explanation:
In this context, 1 J = (1 N)(1 m).
work = force × distance
40 N·m = force × (2 m)
(40 N·m)/(2 m) = 20 N = force
The applied force is 20 Newtons.
_____
Newtons and Joules are "derived" SI units.
N = kg·m/s²
J = kg·m²/s² = N·m