A. A frog is climbing out of a well that is 8 feet deep. The frog can climb 4 feet per
hour but then it rests for an hour, during which it slips back 2 feet. How long will
it take for the frog to get out of the well?
B. What if the well was 40 feet deep, the frog climbs 6 feet per hour, and it slips back
1 foot while resting?