Calculating Work and Average Rate