Solve the compatibility
equation for Cy ...

Here is Canvas object wihch demonstrate the problem.