Applying second moment area theorem between points A and B will give the slope at A i.e.
Further, applying moment area theorem between point A and C
Since
(downward direction)