A large square carpet is initially x inches long and x inches wide. Randy decides to trim 2 inches off each edge of the carpet because the edges are worn. Later he goes back and trims 6 more inches off each edge.
Express the final area (A) of the carpet in square inches (after both trim jobs) as a polynomial function of x.