Aaron 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 $20 per hour to work at the grocery store and $21 per hour to work at the nursery. How much does he earn if he works 13 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?

Total pay, 13 hours at the grocery store and 9 hours at the nursery:

Total pay, gg hours at the grocery store and nn hours at the nursery:

Total pay, 13 hours at the grocery store and 9 hours at the nursery:

Grocery store pay: 13 hours * $20/hour = $<<13*20=260>>260
Nursery pay: 9 hours * $21/hour = $<<9*21=189>>189
Total pay: $260 + $189 = $<<260+189=449>>449

Total pay, gg hours at the grocery store and nn hours at the nursery:
Grocery store pay: gg hours * $20/hour = $20gg
Nursery pay: nn hours * $21/hour = $21nn
Total pay: $20gg + $21nn