Your classmate is starting a new fitness program. He is planning to ride his bicycle 30 minutes every day. He burns 7 calories per minute bicycling at 11 mph and 10.75 calories per minute bicycling at 15 mph. How long should he bicycle at each speed to burn 300 ​calories?