Microsoft interview question

Deriving beam bending relations