A rental car company is running two specials. Customers can pay $50 to rent a compact car for the first day plus $6 for each add
itional day, or they can rent the same car for $40 the first day and $8 for every additional day beyond that. Camilla notices that, given the number of additional days she wants to rent the car for, the two specials are equivalent. How much would Camilla pay in total?