Speedy carz rents cars for a $45 flat fee and $0.75 per mile driven. Affordable autos rents cars for $1.25 per mile plus a $24 flat fee. How many miles must be driven on these rental cars so that the costs of both companies are the same? How much money will it cost when this number of miles are driven?