The McDonald family drove from Halifax to Montreal on a summer vacation. On the way there, they traveled approximately 240 km each day, stopping overnight in many different resorts. They stayed in Montreal for 6 days. On the way back, they drove about twice as far each day before stopping. The total trip was about 2880 km. How many days did the vacation last?