The pier is made of material having a specific weight $\gamma$. If it has a square cross section, determine its width $w$ as a function of $z$ so that the average normal stress in the pier remains constant. The pier supports a constant load $\mathbf{P}$ at its top where its width is $w_{1}$