Explanation
Work is force multiplied by distance. Because both Connie and Sam moved the same weight the same distance they have done an equal amount of work. Sam employed the mechanical advantage of an inclined plane so he exerted less effort to do the work but the amount of work done was still the same.