The number of minutes needed to solve an exercise set of variation problems varies directly as the number of problems and inversely as the number of people working on the solutions. It takes 4 people 36 minutes to solve 18 problems. How many minutes will it take 6 people to solve 42 problems.