To represent the distance \( d \) the car travels in \( t \) hours, we start by determining the speed of the car. Given that the car travels 180 miles in 3 hours, we can calculate the speed \( s \) as follows:
\[ s = \frac{\text{Distance}}{\text{Time}} = \frac{180 \text{ miles}}{3 \text{ hours}} = 60 \text{ miles per hour} \]
Next, we can write an equation for the distance \( d \) in terms of time \( t \):
\[ d = s \cdot t \]
Substituting the speed of the car into the equation:
\[ d = 60t \]
Now, to find how far the car travels in 7 hours, we can substitute \( t = 7 \) into the equation:
\[ d = 60 \cdot 7 \] \[ d = 420 \]
Therefore, the car travels 420 miles in 7 hours.