 
 <prompt> Bruce ya yi aiki sama da 5 hours a ranar Talata. A ranar Laraba ya yi aiki guda biyu cikin lokaci da ya yi aiki a ranar Talata. A ranar Alhamis ya yi aiki 2 hours kuma ya fi ƙarfin lokaci da ya yi aiki a ranar Laraba. Shin ya kamata Bruce ya yi aiki a cikin wadannan uku rana? Yi amfani da python script. Wanda ke da hanya function. <response>: def solution():
    """Bruce ya yi aiki domin sa'a 5 a ranar Talata. A ranar Laraba ya yi aiki guda biyu cikin sa'a ya yi aiki a ranar Talata. A ranar Alhamis ya yi aiki sa'a biyu kuma ya yi aiki guda biyu cikin sa'a ya yi aiki a ranar Laraba. Shin ya kamata Bruce ya yi aiki a cikin wannan uku na rana?"""
    tuesday_hours = 5
    wednesday_hours = 2 * tuesday_hours
    thursday_hours = wednesday_hours - 2
    total_hours = tuesday_hours + wednesday_hours + thursday_hours
    result = total_hours
    return result 