Find the absolute maximum value of the function f of x equals 2 times x plus 1 for x between negative 2 and 0 inclusive and equals negative x squared plus 1 for x greater than 0