Answer:
40 mph and 68 mph
Step-by-step explanation:
Let x mph be the speed of the slower car, then 2x-12 mph is the speed of the faster car.
In 6 hours the faster car got to San Diego, so it travels the distance
[tex]6\cdot (2x-12)=12x-72\ miles.[/tex]
By that time the slower car was 168 miles away from the destination, so the slower car travels the distance
[tex]12x-72-168=2x-240\ miles[/tex]
It takes the slower car 6 hours to travel 12x-240 miles, so
[tex]6x=12x-240\\ \\6x-12x=-240\\ \\-6x=-240\\ \\6x=240\\ \\x=40\ mph.[/tex]
Now,
[tex]2x-12=2\cdot 40-12=80-12=68\ mph[/tex]