There is a point A in the ocean that is 1 mile from shore. There is a point B on land which is 4 miles down the shore and 2 miles away from the ocean. Write a one-variable expression for how long it takes to get from point A to point B. I'm guessing the traveler is both swimming and walking, but the problem doesn't say.