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

### Instruction:
Sarah is playing tic-tac-toe. She wins $1 for every game she wins, $0 for every game she ties, and she loses $2 for every game she loses. If she played 100 games where she tied 40 of them, and she lost $30, how many games did she win?

### Response:
 Kati ya michezo 100, alishinda au kupoteza michezo 60 kwa sababu 100 - 40 = <<100-40=60>>60
Tunajua kuwa 1(60-Poteza) -2(Poteza) = -30 kwa sababu alipoteza $30
Kwa hivyo 60 - Poteza - 2 Poteza = -30
Kwa hivyo - 3 Poteza = -90
Kwa hivyo, Poteza = <<30=30>>30