Please help with this question!!

The distance, d, that a certain car is from Math City after h hours, can be determined by the equation d=45h. The distance that a second car is from Math City can be determined by the equation d=25h+80. After how many hours will the two cars be the same distance from the Math City?