




A quicker route is to first fix the shear force diagram, since only one shape is physically possible, and then use it to rule out wrong bending moment shapes.
The only transverse force on this beam is $P$ at midspan, since the applied moment $M$ at the tip carries no force. So the shear must equal $P$ from the wall to midspan and drop to zero for the rest of the beam. That fact already rules out any option whose SFD stays at $P$ for the full length.
Only option A keeps a physically correct shear diagram and the bending moment shape that matches the given end moment, so it is the answer.