The function takes a numerical input x and returns the result of x squared, plus 3x, minus 2.

