Answer
$6x+4y-32=0$
or, $y=-1.5x+8$
Work Step by Step
The general form of a matrix of order $ 3 \times 3$ is:
$\begin{bmatrix} a & b & c \\ d & e & f \\ g & h& i \end{bmatrix}=a(ei-fh) -b(di-fg)+c(dh-eg)$
Use the formula for a line passing through two points, $(a,b)$ and $(c,d)$.
$\begin{vmatrix} x & y & 1 \\ a & c & 1 \\ b & d & 1 \end{vmatrix} =0$
Now, $\begin{bmatrix} x & y & 1 \\ 2 & 5 & 1 \\ 6 & -1 & 1 \end{bmatrix} =0$
or, $6x+4y-32=0$
or, $y=-1.5x+8$