 
 <prompt> 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? 

```Hausa translation:
An sami wani ƙaramin ƙofar da aka bude tare da kowace ƙasuwanci ta saman blocks na sandstone da aka bude. Wani ƙasuwanci ne a sama. Me ya faru a cikin ƙofar?``` <response>: Akalla akwatin guda uku ne a cikin layer na biyu.
Akalla akwatin tara ne a cikin layer na uku.
Akalla akwatin takwas ne a cikin layer na hudu.
Sannan, akwatin 1 + 3 + 9 + 27 = 40 suna a cikin piramidin.

Sakon zai kasance 40. 