Alice spent 6 minutes on each factoring problem and 3 minutes on each evaluation problem. she spent a total of 42 minutes on 9 problems. how many minutes did she spend on factoring?