Peyton has two summer jobs. During the week she works in the grocery store, and on the weekend she works at a nursery. She gets paid $15 per hour to work at the grocery store and $16 per hour to work at the nursery. How many total hours does she work if she does 12 hours at the grocery store and 9 hours at the nursery? How many total hours does she work if she does gg hours at the grocery store and nn hours at the nursery?