Express the internal shear and moment in the cantilevered beam as a function of x and then draw the shear and moment diagrams.