To solve the problem of determining how long it takes for a car moving at an average speed of 45 miles per hour to travel 90 miles, let's follow a detailed, step-by-step approach.
1. Identify the given values:
- Speed: 45 miles per hour (mph)
- Distance: 90 miles
2. Recall the formula for time:
[tex]\[
\text{Time} = \frac{\text{Distance}}{\text{Speed}}
\][/tex]
3. Plug in the given values into the formula:
[tex]\[
\text{Time} = \frac{90 \text{ miles}}{45 \text{ miles per hour}}
\][/tex]
4. Perform the division:
[tex]\[
\text{Time} = 2 \text{ hours}
\][/tex]
5. Interpret the result:
The time it takes for the car to travel 90 miles at a speed of 45 miles per hour is 2 hours.
Therefore, the correct answer is:
B. 2 hours