A student walked to school and then took a bus. The total trip was miles and took hour. They walked at an average speed of mph and took the bus at an average speed of mph. If is the time, in hours, the student spent walking and is the time, in hours, the student spent on the bus, which system of equations represents this situation?