We want to write a polynomial that represents the area of the shaded region.
To do so, we need to subtract the area A_w of the white square from the area A_b of the big square. Let's write A_w and A_b.
A_w= d^2 and A_b= (d+4)^2
We need to find A_b-A_w.