Car A and Car B are 90 miles apart. If they travel towards each other, they will meet in one-half hour. However, if they travel in the same direction, the faster car will overtake the slower car in 4.5 hours. Find the speed of both cars, assuming they are traveling at a constant speed.