Define function f(x): The function f(x) is defined piecewise, meaning it has different expressions for different values of x. To find f(4), we need to look at the definition of the function for x=4.
Find f(4) value: According to the definition of f(x), when x=4, the function value is −6. This is explicitly given in the function definition.