Hi everybody! can anyone help me with this problem?

HW9_2: BLOCK BETWEEN RIGID WALLS
A cube L0 * L0 * L0 of isotropic linear elastic material (properties
E and ν, with ν>0) is placed between two rigid frictionless walls at fixed distance
L0 and compressed by a lateral pressure p along the x-axis, as indicated in the figure. No loads or constraints are acting along the z-axis. Under the effect of the applied lateral pressure, the cube elongates in the direction normal to the plane of the figure (z-direction) and the strain in this direction is measured to be ϵzz=ϵ0.

HW9_2_1
Obtain symbolic expressions for the applied pressure p and for the constraining normal stress along the y
direction σyy exerted by the walls on the block. Write your expressions in terms of the measured strain along the
z-axis, ϵ0 (enter as epsilon_0) and of the elastic properties E, ν (enter ν as nu).

p = ?
σyy = ?