Tyee has two summer jobs. During the week he works in the grocery store, and on the weekend he works at a nursery. He gets paid $15 per hour to work at the grocery store and $16 per hour to work at the nursery. How much does he earn if he works 14 hours at the grocery store and 9 hours at the nursery? How much does he earn if he works gg hours at the grocery store and nn hours at the nursery?