Writing this using our variables \(p\) (price) and \(q\) (quantity of widgets) we see that when \(p = 10\text{,}\) \(q = 150\) and when \(p = 15\text{,}\) \(q = 110\text{.}\) Points are (usually) given as \((q,p)\text{,}\) so this means we have two point \((150,10)\) and \((110,15)\) on the line. We always need to find the slope of the line, and in this case
\begin{equation*}
m= \frac{15-10}{110-150}= \frac{5}{-40}= \frac{-1}{8}\text{.}
\end{equation*}
We are given two points, so the 2-point form of the line should be the easiest formula to find:
\begin{equation*}
p-p_0=\frac{p_1-p_0}{q_1-q_0 }(q-q_0)\text{.}
\end{equation*}
In our case this becomes:
\begin{equation*}
p-10=\frac{15-10}{110-150}(q-150)\text{.}
\end{equation*}
We just found the slope and we just need to pick a point \((p_0,q_0)\) to finish the problem. (Recall that \(p\) and \(q\) are the variables, so we want to leave those as they are.) In this case lets pick \((p_0,q_0)= (150,10)\text{.}\) Then we get this simplified version, which is also the point-slope form of this line.
\begin{equation*}
p-10=\frac{-1}{8}(q-150)\text{.}
\end{equation*}
From here we can very easily find the slope intercept form by some straight-forward algebra: \(p-10=\frac{-1}{8}(q-150)\) implies that
\begin{equation*}
p=\frac{-1}{8} (q-150)+10= \frac{-1}{8} q+ \frac{150}{8}+10= \frac{-1}{8} q+\frac{230}{8}\text{.}
\end{equation*}
Thus
\begin{equation*}
p= \frac{-1}{8} q+\frac{230}{8}\text{.}
\end{equation*}
And finally the general form will be another exercise in algebra. We clear the fractions and put everything on one side.
\begin{equation*}
8p+q-230=0\text{.}
\end{equation*}