You have 40 minutes to exercise at the gym, and you want to burn 300 calories total using both machines. If one machiene burns 8 calories a minute and the other burns 6 calories a minute, how much time should you spend on each machine? Keep in mind that you have to spend an even amount of minutes at each mechiene.
PLEASE HELP