How many ways are there to assign each of 7 friends to either the chemistry class or the biology class if one of these six, Manoj, refuses to be in a class without any of his friends?
Maybe you can see here: https://web2.0calc.com/questions/i-got-8-possibilities-it-is-incorrect and derive the answer from that...