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

### Instruction:
While shopping, Greg spent 300$ on a shirt and shoes. If Greg spent 9 more than twice as much on shoes as he did a shirt, how much did Greg spend on a shirt?

### Response:
 Hebu x iwe kiasi alichotumia kwa shati.
Greg alitumia 2x+9 dola kwa viatu.
300=x+(2x+9)
300=3x+9
291=3x
x=<<97=97>>97$
Greg alitumia 97$ kwa shati.