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

### Instruction:
A basketball team won 40 games in their last competition. In the next competition, they won 5/8 times as many games as they won in their first competition. In the third competition, they won the same number of games as the sum of the first and second competition winnings. Calculate the total number of wins they had in the three competitions.

### Response:
 Ikiwa walishinda michezo 40 katika mashindano ya kwanza, walishinda michezo 5/8*40 = <<5/8*40=25>>25 katika msimu wao wa pili.
Katika mashindano ya tatu, walishinda michezo sawa na jumla ya michezo waliyoshinda katika mashindano ya mwisho mawili, ambayo ni 25+40 = <<25+40=65>>65 michezo.
Kwa kuwa jumla ya michezo waliyoshinda katika mashindano ya kwanza na ya pili ni 65, na walishinda michezo 65 zaidi katika mashindano ya tatu, walishinda jumla ya 65+65 = <<65+65=130>>130 katika mashindano yote.