Madelyn 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 $22 per hour to work at the grocery store and $21 per hour to work at the nursery. How much does she earn if she works 11 hours at the grocery store and 10 hours at the nursery? How much does she earn if she works gg hours at the grocery store and nn hours at the nursery?