Johan rented a car freom Hertz,which rents its cars for a daily fee plus an additional charge per mile driven.John recalls that a car rented for 5 days and driven for 300 miles cost $178,while a car rented for 4 days and driven for 500 miles cost $197. Find the daily rate and mileage fee.