 
 <prompt> A lokacin 7, Sofie zata tafi duba duba da Brian. Idan Sofie ta nema tafiya 10 mili a kullum, me yawan mili zai tafi Brian a lokacin 7? Yi amfani da python code. <response>: def solution():
    """A lokacin 7 na gobe, Sofie zata tafi dubu biyu da Brian. Idan Sofie ta nema tafi 10 mili a kullum, me yasa mili Brian zata tafi a lokacin 7 na gobe?"""
    sofie_miles_per_day = 10
    sofie_miles_total = sofie_miles_per_day * 7
    brian_miles_total = sofie_miles_total / 2
    result = brian_miles_total
    return result 