Respuesta :

Using two-points form equation of a line formula as shown below

[tex]\frac{y-y_1}{x-x_1}=\frac{y_2-y__1}{x_2-x_1}[/tex]

From the question, we have that:

[tex]\begin{gathered} (1,1)\rightarrow x_1=1,y_1=1 \\ (2,-1)\rightarrow x_2=2,y_2=-1 \end{gathered}[/tex]

Substitute the coordinates values above in the two-points form equation

[tex]\frac{y-1}{x-1}=\frac{-1-1}{2-1}[/tex][tex]\frac{y-1}{x-1}=\frac{-2}{1}[/tex]

Cross multiply and simplify the equation

[tex]\begin{gathered} 1(y-1)=-2(x-1) \\ y-1=-2x+2 \\ y=-2x+2+1 \\ y=-2x+3 \end{gathered}[/tex]

Hence, the equation of the straight line is y = -2x + 3

RELAXING NOICE
Relax