Two friends share a taxi from the airport to the hotel. After adding a $5 tip they divided the cost evenly. How much were they charged if they each paid $8.70?