Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
Mara and Riley went to a carnival, Mara rode the bumper car two times, Riley rode the space shuttle four times, and they both rode the Ferris wheel three times. If a ticket for a bumper car cost $2, a ticket for a space shuttle cost $4, and a ticket for a Ferris wheel cost $5, how much money did they spend?

### Response:
 Mara alitumia $2 x 2 = $<<2*2=4>>4 kwa kupanda gari la kugongana mara mbili.
Riley alitumia $4 x 4 = $<<4*4=16>>16 kwa kupanda roketi ya anga mara nne.
Walitumia $5 x 3 = $<<5*3=15>>15 kila mmoja kwa kupanda gurudumu la Ferris mara tatu.
Hivyo, walitumia jumla ya $15 x 2 = $30 kwa kupanda gurudumu la Ferris.
Hivyo, walitumia jumla ya $4 + $16 + $30 = $<<4+16+30=50>>50 kwa kupanda gari la kugongana, roketi ya anga, na gurudumu la Ferris.