Question 1090185

A car traveled for a total of  566  miles over the course of  8  hours on two highways. On the first highway, the car traveled at an average speed of  57  miles per hour. On the second highway, it traveled at an average speed of  79  miles per hour. For how many hours was the car on the first highway? 

I did my equation and i got x,y but then what do i do I'm confused?
i got x as -33 and y as -25 i don't know if that right 
<pre>Correct answer: It was on the 1st highway for: {{{highlight_green(matrix(1,2, 3, hours))}}}, done as follows:
Let the time spent on 1st highway be T
Then time spent on 2nd highway = 8 - T
We then get the following DISTANCE equation: 57T + 79(8 - T) = 566
Solve this for T, the time spent on the 1st highway.