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

### Instruction:
There are six more white birds next to a cage than grey birds in the cage. If the number of grey birds in the cage is 40, and after ten minutes, half of the birds in the cage are freed and fly away, calculate the total number of birds remaining.

### Response:
 Ikiwa kuna ndege sita zaidi za rangi nyeupe karibu na gereza kuliko ndege za rangi ya kijivu ndani ya gereza, kuna ndege 6+40 = <<6+40=46>>46 za rangi nyeupe karibu na gereza.
Wakati nusu ya ndege za rangi ya kijivu ndani ya gereza zinaruka mbali, idadi inayobaki ni 1/2*40 = <<1/2*40=20>>20
Idadi jumla ya ndege ni 46+20 = <<46+20=66>>66