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

### Instruction:
 Eneo la pembetatu lenye msingi na urefu uliopewa linapatikana kwa 1/2*msingi*urefu. Urefu wa pembetatu yenye eneo la 24 uniti za mraba na urefu wa 8 ni upi?


### Response:
 Acha b iwe urefu wa msingi na h iwe urefu wa pembetatu
(1/2)*b*h=24.
Hivyo b*h=48.
Hivyo h=48/b.
Na b+h=8.
Hivyo 8-b=48/b.
Hivyo b=6.