A cruise line has 3-day, 4-day, and 7-day cruises. After each cruise, a ship returns for one day and repeats the pattern. If one cruise of each type leaves today, when will all three cruises leave again on the same day?

Generalize your solution for x-day, y-day, and z-day cruises?