There is work done by three different forces
(a) work of the force F
WF=F⋅s⋅cos35°=400⋅(0.2+0.6)⋅cos35°=262J
(b) work of the block weight
WW=mgΔh=mg⋅0.8⋅sin40°=8⋅9.8⋅0.8⋅sin40°=40J
(c) work of the spring force
WS=−2k(0.62−0.22)=−2300(0.36−0.04)=−48J
So, total work
Wt=262+40−48=254J
Answer. (b)254J
Comments
Dear eve, 0.2+0.6=0.8 m
How did you come up with the value 0.8?