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

### Instruction:
 Jumla ya umri wa Cooper, Dante, na Maria ni 31. Dante ni mara mbili umri wa Cooper. Maria ni mwaka mmoja mkubwa kuliko Dante. Cooper ana umri gani?


### Response:
 Hebu X = umri wa Cooper
Dante = 2X
Maria = 2X + 1
X + 2X + 2X + 1 = 31
5X + 1 = 31
5X = 30
X = 6
Cooper ana umri wa miaka 6.