Two periodic functions have periods of 6 s and 7 s . A machine records the two functions reaching their maximum values at the same time. Twenty seconds later, the machine records a new periodic function reaching its maximum value. The new function has a period of 8 s. How many seconds after that will all the functions reach their maximum values at the same time? Explain.