Write an equation in pointslope form for the line that has a slope of g and contains the point (9, 5).