What is the work done to slide the box
The work is calculated by force multiply distance.If the force is vertical, the distance must be vertical.If the force is horizontal, the distance must be horizontal.