Some functions are defined by different equations for various parts for their domains. Those functions are called piecewise-defined functions.
To solve the piecewise-defined function for an input, we will determine that which part of the domain it belongs to and use the appropriate formula for that part of the domain.
Consider the provided function,
The function provided is defined in multiple equations.
Therefore, to determine G (-1) identifyin which equation -1 will lie.
-1 lies in the interval
Hence, the value of G(-1) is -6.