Pls help me with this I am struggling with it and need help
to get the equation of any straight line, we only need two points off of it, hmmm let's use the points in the picture below.
[tex](\stackrel{x_1}{0}~,~\stackrel{y_1}{5})\qquad (\stackrel{x_2}{1}~,~\stackrel{y_2}{-2}) ~\hfill \stackrel{slope}{m}\implies \cfrac{\stackrel{rise} {\stackrel{y_2}{-2}-\stackrel{y1}{5}}}{\underset{run} {\underset{x_2}{1}-\underset{x_1}{0}}}\implies \cfrac{-7}{1}\implies -7 \\\\\\ \begin{array}{|c|ll} \cline{1-1} \textit{point-slope form}\\ \cline{1-1} \\ y-y_1=m(x-x_1) \\\\ \cline{1-1} \end{array}\implies y-\stackrel{y_1}{5}=\stackrel{m}{-7}(x-\stackrel{x_1}{0}) \\\\\\ y-5=-7x\implies y=-7x+5[/tex]