Here is Canvas object wihch demonstrate the problem.

Using the flexure formula, the bending stress magnitudes at key points on the left (a) side and right (b) side of the beam segment are computed for Ma = 9,000 lb-in. and Mb = 12,600 lb-in.
(note: Iz = 72 in4, y = +3, +1, and –3 in).

Investigating shear in beams