Help plzzzzzzzssssss

Answer:
16
Step-by-step explanation:
There are three possible equations: the first is used for inputs (x-values) in between negative infinity and -7, the second for inputs in between -7 and 2, and the third for inputs in between 2 and infinity. 7 is in between 2 and infinity so the third equation is applicable.
[tex]g(x)=(x+1)(x-5)[/tex]
[tex]g(7)=(7+1)(7-5)[/tex] Plug in the values
[tex]g(7)=(8)(2)[/tex] Simplify
[tex]g(7)=16[/tex]