to get the equation of a straight line, all we need is two points, hmmm say this line runs over (0 , -2) and (3 , 0), so let's use those.
[tex]\bf (\stackrel{x_1}{3}~,~\stackrel{y_1}{0})\qquad (\stackrel{x_2}{0}~,~\stackrel{y_2}{-2}) \\\\\\ slope = m\implies \cfrac{\stackrel{rise}{ y_2- y_1}}{\stackrel{run}{ x_2- x_1}}\implies \cfrac{-2-0}{0-3}\implies \cfrac{-2}{-3}\implies \cfrac{2}{3} \\\\\\ \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-0=\cfrac{2}{3}(x-3)\implies y=\cfrac{2}{3}x-2[/tex]