Sydnee - I've got an answer for you, but it is not simple, so you'll have to read carefully and I'll try my hardest to make it readable.
This problem depends on the relationship Distance = (Rate)(Time)
That relationship is true during the first (faster) part of their trip and the second (slower) part of their trip. This can be summarized like this:
D1 = R1 * T1 and D2 = R2 * T2
Since that expression has lots of different variables in it we want to find some relationships so that we can express some of the variables in terms of others.
The problem tells us that D1 = 96 and D2 = 100 so we can substitute those numbers.
They also tell us that "they drove an average of 9 mph faster during D1". So we can say
R1 = R2 + 9 .... or R2 = R1 - 9
We also know that since the total trip took 4 hours, T1 + T2 = 4
Here's where we do some fancy substitution. Ready?
Take D = R * T and solve for T ..... T = D/R
Since we know that T1 = D1/R1 AND we know that T2 = D2/R2 we can add these two different times together to get the total time (which we know is 4 hours).
Let's list the variables again:
D1 = 96
R1 = R
D2 = 100
R2 = R - 9
(D1/R1) + (D2/R2) = Total time
(96/R) + (100/R-9) = 4
To simplify this a little, we can factor out a 4 from both sides:
4 (24/r + 25/r-9) = 4
>>>> divide by 4 on both sides to get
24/r + 25/r-9 = 1
now make a common denominator of r(r-9)
24(r-9) + 25r = r(r-9)
r(r-9) r(r-9) r(r-9)
24r - 216 +25r = r2 - 9r
Collect like terms on one side of the equals sign and factor:
r2 - 58r + 216 = 0
(r - 54)(r -4) = 0
Use zero product property.... to solve for r.
r - 54 = 0 so r = 54 and r -4 = 0, so r = 4
Only one of these factors makes sense.... the 54.
Thats R1! So R2 = 54-9 = 45 mph
you can check whether the answer makes sense by using D = R*T
D1 = 96 = 54(T1) so T1 = 96/54 = 1.78 hours
D2 = 100 = 45(T2) so T2 = 100/45 = 2.22 hours.
and T1 + T2 = 1.78 + 2.22 = 4
Yeah! everything checks!