how can we derive the work-energy theorem form Newton's second law of motion?