Final answer:
The total distance the car traveled in 5 hours is 4x miles.
Step-by-step explanation:
To find the total distance the car traveled in 5 hours, we can add the distance traveled at the speed of x miles per hour for 3 hours and the distance traveled at half that speed for 2 hours.
The distance traveled at the speed of x miles per hour for 3 hours is 3x miles.
The distance traveled at half that speed for 2 hours is (0.5x) * 2 = x miles.
Therefore, the total distance traveled in 5 hours is 3x + x = 4x miles.