Question 496174
Let s = the length of a side of the square
The two new sides have length s + 8 and s - 2
The equation for the new perimeter is:
2(s+8) + 2(s-2) = 40
Solve for s:
2s + 16 + 2s - 4 = 40
4s = 28
s = 7