I was reviewing my lessons on our "Strength of Materials" and I came up with this problem.

I get stucked on this thing.

How did the final equation/formula came up?

I'm kinda curious.

help me please!! can you explain it to me briefly? and as simple as possible..

thanks a bunch in advance!