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

### Instruction:
A school does a yearly tree planting activity. This year, the 4th graders planted a total of 30 trees while 5th graders planted twice as many. The 6th graders planted 30 fewer than thrice the number of trees planted by the 5th graders. How many trees did they plant altogether?

### Response:
 Wanafunzi wa darasa la tano walipanda miti 30 x 2 = <<30*2=60>>60.
Maradufu ya idadi ya miti iliyopandwa na wanafunzi wa darasa la tano ni 60 x 3 = <<60*3=180>>180.
Hivyo, wanafunzi wa darasa la sita walipanda miti 180 - 30 = <<180-30=150>>150.
Hivyo, walipanda jumla ya miti 30 + 60 + 150 = <<30+60+150=240>>240.