Question 6. Determine the shear and moment in the beam

Question
Question 6. Determine the shear and moment in the beam as a function of x.