Stu hiked a trail at an average rate of 3 miles per hour. He ran back on the same trail at an average rate of 5 miles per hour. He traveled for a total of 3 hours. Which equation can be used to find the time it took Stu to hike the trail?