A boat traveled upstream and downstream for a total distance of miles. The trip took hours. The boat traveled upstream at an average speed of mph and downstream at an average speed of mph. If is the time, in hours, the boat traveled upstream and is the time, in hours, the boat traveled downstream, which system of equations represents this situation?