Selma's class is making care packages to give to victims of a natural disaster. Selma packs one box in 5 minutes and has already packed 12 boxes. Her friend Trudy packs one box in 7 minutes and has already packed 18 boxes. How many more minutes does each need to work in order to have packed the same number of boxes?