Your answer will be y=-3x+4
The general equation of the sine function y=f(x) is defined as

where A is the Amplitude
B represents the frequency of the function with period equals 
C represents the Horizontal shift, For Phase shift= -C/B
D represents the Vertical shift.
The data given that the amplitude of the function A=6

Vertical shift 
Horizontal Shift 
Now plug in
in the general equation of sine function, we get

The function f(x) is:
f(x)=x
This is because the line f(x) passes through the points (-1,-1), (0,0), (1,1) etc.
The function p(x) is:
p(x)=mx+C
Whereby (m) is the slope and (C) is a constant.
m=-4/3, as m=tan(ω)=O/A=-4/3 as slope is negative.
Now when y=-3, x=-3.
So:
-3=-4/3 *(-3) +C
-3= 4 + C
C=-7
This means that:
p(x)=-4/3x -7
Now, where p(x)=g(x), x=-6.
p(-6)=-4/3 * (-6) -7
p(-6)=24/3 -7
p(-6)=8-7
p(-6)=1
Therefore:
p(x) and g(x) meet at (-6, 1) and the solution to p(x)=g(x) is x=-6.
2 - 2 = 0
this is so because if you minus a number by the same number they both cancel out, resulting in 0
X=5
Add all the Xs together, then get it alone and there’s your anwser
Hope it helps ❤️