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

### Instruction:
Brogan has two apple trees and goes to harvest them. The first tree is 40% red and 60% green. The second tree is 50% red and 50% green. If they each produce 20 apples, how many red apples does he get?

### Response:
 Mti wa kwanza unampa apples nyekundu 8 kwa sababu 20 x .4 = <<20*.4=8>>8
Mti wa pili unampa apples nyekundu 10 kwa sababu 20 x .5 = <<20*.5=10>>10
Anapata apples nyekundu 18 kwa sababu 10 + 8 = <<10+8=18>>18