 
 <prompt> Akwatin hudu suna aiki a cikin shelf. Akwatin farko ta kasance 31 mm, idan aka koma akwatin biyu ta kasance 50 mm. Akwatin uku ta kasance 5 mm yana kasa gaba da akwatin biyu, kuma akwatin hudu ta kasance guda biyu da akwatin farko. Me ya sa aka samu jiki na akwatinsu hudu?

```python
akwatin_farko = 31
akwatin_biya = 50
akwatin_uku = akwatin_biya - 5
akwatin_hudu = 2 * akwatin_farko

jiki_duk_akwati = akwatin_farko + akwatin_biya + akwatin_uku + akwatin_hudu
print("Jiki daga duk akwatin: ", jiki_duk_akwati, "mm")
``` <response>: def solution():
    """Akwatin hudu suna jiran a shelf. Akwatin farko ta da tsawon 31 mm bayan akwatin biyu ta da tsawon 50 mm. Akwatin uku ta da tsawon 5 mm yana kai tsawon akwatin biyu, kuma akwatin hudu ta da tsawon mafiya biyu na akwatin farko. Me yasa tsawon dukkan akwatin hudu?"""
    book1_thickness = 31
    book2_thickness = 50
    book3_thickness = book2_thickness - 5
    book4_thickness = book1_thickness * 2
    total_thickness = book1_thickness + book2_thickness + book3_thickness + book4_thickness
    result = total_thickness
    return result 