The perimeter of a square is the sum of its sides and they are all equal, so to obtain the length of each of them we divide the perimeter of the first fence between 4:


Then, the length of each side of the second fence will increase 2 feet at each end, as shown in the figure. We have then that the perimeter of the second fence is:


The sum of the perimeters of both fences is:



Total cost = $1.26 x 144 feet
Total cost = $181.44
The total cost of the fences was $181.44