Write a system of equations for the problem, and then solve the system. Two cars leave a city and head in the same direction. After 4 hours, the faster car is 24 miles ahead of the slower car. The slower car has traveled 164 miles. Find the speeds of the two cars.