To keep all students motivated, mix their lessons so that students with different preferences spend…