Consider overhang AB...
The distributed load w creates a moment MB that acts clockwise on the right end of overhang AB. An equal magnitude moment acting in a counterclockwise direction is applied by the overhang to simply supported span BD.

The expression for the deflection in the simply supported span
at C produced by the counterclockwise
moment MB is: