Make a function for each boat

Sailboat:

Motorboat:

x being the number of hours.

y being the distance traveled

Find the coordinates of the intersection of both functions, and the x value you'll end up with will be the difference between 1 pm and the hour of intersection. And the y value will be the distance the boat has traveled.