In a square, all sides are equal and all angles are equal.
So, the length of the side is only the height.
Therefore height can be:
1)The root of the area of square
2)The perimeter divided by 4
The equation is y = 1/2 x + 13, where x is the number of days, and y is the length of the barrier