Several steps are required to solve this problem:
1. Consider equilibrium to determine the beam reactions at the pin and at the roller.
2. Draw the shear-force and bending-moment diagrams for the beam. These diagrams are needed to determine the maximum positive and negative bending moments.