Find the function g, given that g is linear, the graph of g has y-intercept -2. And g(1) =5.

so you have a slope of -2 and a point (1,5)

y = -2x + b
plug in the point
5 = -2(1) + b
b = 7

y = -2x + 7

or

y-5 = -2(x-1)
y-5 = -2x + 2
y = -2x +7