Ask yourself this: in problem $a$, are B and C superimposable on each other? You'll find that that is not the case. So those two are enantiomers. In problem $b$, B and its mirror image are perfectly superimposable on each other, hence identical. This also shows that in problem $a$, B is am optically active molecule, while in problem $b$ it is not.