Total trip time versus speed for the second half:

This function A(r) gives the average speed for an entire trip if the first half is traveled at 30 miles per hour and the second half is traveled at the speed indicated on the slider. The challenge is to determine the proper speed for the second half so that the average speed for the entire trip is 60 miles per hour. Move the slider to see. Good luck!