A force of 40N Will stretch it through 5.0cm and what work will be done in stretching the wire through 5.0M

2 answers

F = k x
40 N = k * 0.05 m
k = 40/.05 = 800 Newtons/ meter

work = w = (1/2) k x^2
= 400 * 25 Joules

by the way I bet you have a typo, really cm and meters?
F = 40N/0.05m * 5m = 4000 N.

Work = F * D = 4000 * 5 = 20,000 J.