we know that
The formula to calculate the slope m between two points is equal to
[tex]m=\frac{(y2-y1)}{(x2-x1)}[/tex]
Step [tex]1[/tex]
Find the slope of the function f(x)
Let
[tex]A( 0,-2)\\B(1,0)[/tex]
substitute the values in the formula above
[tex]m=\frac{(0+2)}{(1-0)}[/tex]
[tex]m=2[/tex]
the slope of the function f(x) is [tex]m=2[/tex]
Step [tex]2[/tex]
Find the slope of the function g(x)
Let
[tex]C( -4,0)\\D(0,2)[/tex]
substitute the values in the formula above
[tex]m=\frac{(2-0)}{(0+4)}[/tex]
[tex]m=\frac{2}{4}[/tex]
[tex]m=\frac{1}{2}[/tex]
the slope of the function g(x) is [tex]m=\frac{1}{2}[/tex]
therefore
slope f(x) > slope g(x)
or
slope g(x) < slope f(x)
the answer is the option
B.The slope of g(x) is less than the slope of f(x).