Consider a portion of the beam element located at a distance y1 above the neutral axis. This subelement of the cross-sectional area will be designated A'.

Here is Canvas object wihch demonstrate the problem.