Linear function g is shown in the graph. Write the slope-intercept form of the equation representing this function.