According to a rating agency, a car's MPG (miles per gallon) ratings are: 25 MPG for city and 30 MPG for highway driving. A driver spent $20.00 (the gasoline costs $1.25/gallon) on a combined city and highway trip of 450 miles. How many miles "C" in city and "H" on highway was the car driven ?

I need to put this into 2 equations. How does the $20.00 fit into the equation?

Change the 20 dollars to gallons.

Then,

gallons=citymiles/citympg + highwaymiles/Highwaympg

To solve this problem, let's first define the variables:

- C: The number of miles driven in the city
- H: The number of miles driven on the highway

To create the equations, we'll use the following information:
1. The car's MPG ratings: 25 MPG for city driving and 30 MPG for highway driving.
2. The total cost of gasoline spent, which is $20.00.
3. The combined city and highway trip distance, which is 450 miles.

Now, let's proceed to formulating the equations:

Equation 1: Calculate the total gallons used on the trip
To find the total gallons used on the trip, we can use the formula:
Total gallons = City gallons (C/25) + Highway gallons (H/30)

Equation 2: Calculate the total cost of gasoline
The total cost of gasoline is obtained by multiplying the total gallons used on the trip by the cost per gallon, which is $1.25 per gallon:
Total cost = Total gallons * Cost per gallon

Given that the total cost is $20.00, we can rewrite Equation 2 as:
$20.00 = Total gallons * $1.25

By setting these two equations equal to each other, we can solve for the variables C and H.