 
 <prompt> Hajiya Cruz ta turo gida da ba zai samu ayyuka a kan $400 000. Ta samu wani abu da aka bude a kanun gida da kuma ra'ayi na $350 000. A kan haka, mai sayar da aka bude ya buƙatar bayar da matsayin wakilci wanda shi ne 5% daga ra'ayin gida, kuma kuma matsayin amfani da ita wanda shi ne 12% daga ra'ayin gida. Me ya faru ne a kanun gida da aka bude a kan ra'ayin gida da Hajiya Cruz?

```python
selling_price = 350000
brokerage_fee = selling_price * 0.05
transfer_fee = selling_price * 0.12
total_price = selling_price + brokerage_fee + transfer_fee
budget = 400000
difference = total_price - budget

print("Total price of the house is:", total_price)
print("The house is over Mrs. Cruz's budget by:", difference)
``` <response>: def solution():
    """Mata Cruz ta turo gida da za'a bata a matsayin budget din ta na $400 000. Ta samu wani gida da aka bata da sabon kyauta na $350 000. A kan haka, mai sayar ya buƙaci wa wani yara da ya fi 5% daga sabon kyauta, kuma kuma yana buƙaci wa sabon kyauta da ke 12% daga sabon kyauta. Me ya faru ne a kan sabon kyauta na gida da budget din Mata Cruz?"""
    budget = 400000
    selling_price = 350000
    brokerage_fee = selling_price * 0.05
    transfer_fee = selling_price * 0.12
    total_price = selling_price + brokerage_fee + transfer_fee
    price_difference = total_price - budget
    result = price_difference
    return result 