When James spent 10 minutes doing push-ups and 30 minutes swimming, his fitness app said that he burned 362 calories. Similarly, when he spent 40 minutes doing push- ups and 143 minutes swimming, the app said that he burned 1647 calories. Letrho and s represent the calories per minute that James burns while doing push-ups and swimming, respectively.
a. Write a system of equations to describe the situation above. Enter the equations below, separated by a comma.