A gym has two machines you want to use. An elliptical trainer that burns 8 calories per minute, and a stationary bike that burns 6 calories per minute. You have 40 minutes to exercise at the gym, and you want to burn 300 calories total using both machines. How much time should you spend on each machine? (Use x for the elliptical and y for the bike)


elliptical trainer x = blank minutes

stationary bike y = blank minutes