You leave your house and walk for half an hour at a speed of 3 miles per hour. Then you run for 15 minutes at a speed of 7 miles per hour. You are now halfway to town. Write and solve an equation to find the distance from your house to town.