A body is displaced through a certain distance by a force of 40N.If the workdone is 160J and displacement is in the direction of the force what is the value of x

no clue. I cannot calculate its value without knowing what it is defined as.

but work = force * distance. Maybe that will help.