the function f defined as f(x)= { x^2 + 3x + a if x1