The data was modified to give you a complete explanation and help to solve your problem.
Answer:
[tex]y=1-x[/tex]
Step-by-step explanation:
A line passing through two points
Given two points A(x1,y1) and B(x2,y2), the equation of the line passing through them is:
[tex]\displaystyle y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
The question provides the points (1,0) and (1,0). Note both points are the same. They cannot be used because there is not a unique line passing through a single point.
We'll use the points (0,1) and (1,0) instead.
[tex]\displaystyle y-1=\frac{0-1}{1-0}(x-0)[/tex]
[tex]\displaystyle y-1=\frac{-1}{1}(x-0)[/tex]
[tex]\displaystyle y-1=-x[/tex]
Reducing:
[tex]\boxed{y=1-x}[/tex]