Your classmate is starting a new fitness program. He is planning to ride his bicycle for 45 minutes every day. He burns 6 calories per minute bicycling at 11 mph and 9.25 calories per minute bicycling at 15 mph. How long should he bicycle at each speed to burn 400 calories?