Write a system of equations to describe the situation below, solve using substitution, and fill in the blanks.
Mr. Bartlett is contemplating which chauffeured car service to take to the airport. The first costs $30 up front and $1 per kilometer. The second costs $18 plus $2 per kilometer. For a certain driving distance, the two companies charge the same total fare. What is the distance? What is the total fare?