A line is a one-dimensional shape that is straight. The equation of the line is y=-2x+5.
What is the equation of a line?
A line is a one-dimensional shape that is straight, has no thickness, and extends in both directions indefinitely. The equation of a line is given by,
y =mx + c
where,
x is the coordinate of the x-axis,
y is the coordinate of the y-axis,
m is the slope of the line, and
c is constant.
The slope of the line can be written as,
m = (3-1)/(1-2) = -2
Now, substituting the value of any point in the equation of the line, we will get,
y=-2x+c
1=-2(2)+
1=-4+c
c=5
Hence, the equation of the line is y=-2x+5.
Learn more about Equation of Line:
https://brainly.com/question/21511618
#SPJ2