When calculating work done while walking up a hill, only the vertical displacement is relevant, as work is defined by the force acting in the direction of motion. In this scenario, the man carries a 10 kg bag to a height of 10 meters, and the work done can be calculated using the formula W = m*g*d, where d is the vertical distance. Horizontal displacement does not contribute to the work calculation since it does not align with the force of gravity. The work done by the man is positive, while the work done by gravity is negative, reflecting their opposing directions. Understanding these principles clarifies the calculation of work in this context.