In case 2, the moment at B is:
For case 3, reverse the direction of M and apply it to the simply supported span AB.