A plane flew for a total of hours, covering a distance of miles. For part of the flight, the plane flew with a tailwind at an average speed of mph. For the rest of the flight, it flew against a headwind at an average speed of mph. If is the time, in hours, flying with the tailwind and is the time, in hours, flying against the headwind, which system of equations represents this situation?