Jon rented a car a company that charged a daily rental fee and a mileage charge. He rented the car for 6 days and drove 400 miles and was charged $210. His friend Amanda later rented the same car for 7 days and drove 360 miles and was charged $229. What was the daily rental charge? How much did the company charge per mile?