Mr. Dawson is contemplating which chauffeured car service to take to the airport. The first costs $7 up front and $2 per kilometer. The second costs $12 plus $1 per kilometer. For a certain driving distance, the two companies charge the same total fare. What is the total fare? What is the distance?