Nick is planning to drive across the country, and he is deciding between a southern route and a northern route. He uses the following pieces of information to determine the total cost of gasoline for each route: His car needs $18$ gallons of gasoline for every $396$ miles driven. The southern route is $3,102$ miles long, and the average cost of gasoline along this route is $\$2.20$ per gallon of gasoline. The northern route is $2,948$ miles long, and the average cost of gasoline along this route is $\$2.28$ per gallon of gasoline. What would be the total cost of gasoline for each route? Show your work.