Factoring:
Theory : A difference of two perfect cubes,
can be factored into

Proof : 




Check : 8 is the cube of 2
Check : 27 is the cube of 3
Check :
is the cube of
Check :
is the cube of 
Factorization is :

X is the bottom and y is the left side an it should be straight
Answer
f(6) = -33 and g(-3) = -52
Explanation;
Given the function
f(x)=-5x-3
f(6)=-5(6)-3
f(6) = -30 -3
f(6) = -33
Similarly if g(x)=2x^3+2
g(-3)=2(-3)^3+2
g(-3) = 2(-27)+ 2
g(-3) = -54 + 2
g(-3) = -52
Hence f(6) = -33 and g(-3) = -52
M2=5x+10
.................