 
 <prompt> Jack ti wa ni ile-iwe 150 miles lati ile re. O n gbe 75 mph si ibe ati si ibe. O si gba 6 hours ni ile-iwe. Nibo ni o ti lo lati ile?

```python
distance = 150
speed = 75
time_at_museum = 6

time_to_museum = distance / speed
total_time = 2 * time_to_museum + time_at_museum

print("Jack is gone from home for", total_time, "hours")
``` <response>: def solution():
    """Jack decides to visit a museum 150 miles from home.  He drives 75 mph there and back.  He spends 6 hours at the museum.  How long is he gone from home?"""
    distance = 150
    speed = 75
    museum_time = 6
    trip_time = distance / speed
    total_time = trip_time * 2 + museum_time
    result = total_time
    return result 