The function takes a numerical input x and returns x squared plus 2x plus 1.

