Let the work done be, W Distance travelled be D. If constant force is K, then Force is directly proportional to the distance travelled by the body.
∴ W ∝ D.
W = K × D
Constant force, K = 5 units.
W = 5 × D linear equation.
If D = 2, then W = 5D
W = 5 × 2
W = 10
If D = 0, then W = 5D
W = 5 × 0
W = 0