#"the equation of a line in "color(blue)"standard form"# is.
#color(red)(bar(ul(|color(white)(2/2)color(black)(Ax+By=C)color(white)(2/2)|)))#
#"where A is a positive integer and B, C are integers"#
#"firstly obtain the equation in "color(blue)"slope-intercept form"#
#•color(white)(x)y=mx+b#
#"where m is the slope and b the y-intercept"#
#"to calculate m use the "color(blue)"gradient formula"#
#•color(white)(x)m=(y_2-y_1)/(x_2-x_1)#
#"let "(x_1,y_1)=(9,8)" and "(x_2,y_2)=(4,7)#
#m=(7-8)/(4-9)=(-1)/(-5)=1/5#
#y=1/5x+blarrcolor(blue)"is the partial equation"#
#"to find b substitute eother of the 2 given points into"#
#"the partial equation"#
#"using "(4,7)" then"#
#7=4/5+brArrb=35/5-4/5=31/5#
#y=1/5x+31/5larrcolor(red)"in slope-intercept form"#
#"multiply through by 5"#
#5y=x+31#
#x-5y=-31larrcolor(red)"in standard form"#