Here is Canvas object wihch demonstrate the problem.
 
 

Note that the compatibility equation includes the unknown reaction Cy. The compatibility equation is based on the geometry of the deformation involved in this specific problem.