You have 48 minutes to exercise at the gym. The elliptical trainer burns 9 calories per minute, while the treadmill burns & calories per minute. You want to burn 400 calories total using both machines. How much time should you spend on each machine? Write a system of equations and solve.