Here is Canvas object wihch demonstrate the problem.

Calculate the shear flow, q: