Call the time took him to walk to the store, in hours, . Since "distance= time*speed" the distance to the store is miles. Call the time it took them to walk back from the store, in hours, . Then we also have . Of course, the distance to the store is the same as the distance back so we have . We also are told that the total time is .