In summary, stresses σx and σy acting simultaneously produce strains in three directions:

εx=1Eσx- νσyεy=1Eσy- νσxεz=-νEσx+ σy

Here is Canvas object wihch demonstrate the problem.

Strains εx and εy produce stresses in the x and y directions:

σx=E1 - ν2 εx+ νεyσy=E1 - ν2 εy+ νεx