Final answer:
The distance of the entire trip is 132 miles, calculated by summing the distances traveled during the outbound and return trips.
Step-by-step explanation:
The distance of the entire trip can be calculated by finding the sum of the distances traveled during the outbound and return trips. Let's start by finding the distance traveled during the outbound trip. We know that the bird travels at a speed of 18 mph for x hours. Therefore, the distance traveled during the outbound trip is 18x miles.
Now, let's find the distance traveled during the return trip. The bird travels at a speed 3 mph slower than the outbound trip, so the speed during the return trip is 18 - 3 = 15 mph. Since the bird has 5 miles left after x hours, we can set up the equation 15(x - 5) = 5 to solve for x. Solving this equation, we get x = 4. Therefore, the bird traveled for 4 hours during the return trip. The distance traveled during the return trip is 15 * 4 = 60 miles.
To find the distance of the entire trip, we sum the distances of the outbound and return trips: 18x + 60 = 18 * 4 + 60 = 72 + 60 = 132 miles.