To use superposition, we will split the combined loading on the beam into two separate cases:
Case 1 Simply supported beam with uniformly distributed load
Case 2 Simply supported beam with concentrated load at midspan