The equation of the line passing through \((x_1,y_1)\) and \((x_2,y_2)\) is
\(\frac{x-x_1}{y-y_1} =\frac{x_2-x_1}{y_2-y_1}\). Here
\(\frac{y_2-y_1}{x_2-x_1}\) is the slope of the line.
Substituting numerical values, the equation of the line is
\(\frac{x-0}{y-5} =\frac{-2-0}{11-5} \\
\frac{x}{y-5} =-\frac{1}{3} \\
3x=5-y\\
3x+y=5\)
The equation of the line is \(3x+y=5\)