Class: 12 Subject: Math Topic: Application of Derivative

Question:

Find the maximum and minimum values of the function \( g(x) = -|x + 1| + 3 \)