At the gym on Saturday, Reese ran 5 miles in the treadmill and then the completed 1 mile in the elliptical machine and burned 725 calories. On Sunday she ran 3 miles on the treadmill and completed 1 mile in the elliptical, and burned 505 calories. Write and solve a linear system to find the number of calories Reese burns on the machine