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

### Instruction:
A four-layer pyramid is being built with each layer having three times as many sandstone blocks as the layer above it. The top layer is a single block. How many sandstone blocks are in the pyramid?

### Response:
 Kuna vifusi 1 * 3 = <<1*3=3>>3 katika safu ya pili.
Kuna vifusi 3 * 3 = <<3*3=9>>9 katika safu ya tatu.
Kuna vifusi 9 * 3 = <<9*3=27>>27 katika safu ya nne.
Hivyo, kuna jumla ya vifusi 1 + 3 + 9 + 27 = <<1+3+9+27=40>>40 vya mawe ya mchanga katika piramidi.