The data was modified to give you a complete explanation and help to solve your problem.
Answer:
![y=1-x](https://img.qammunity.org/2021/formulas/mathematics/college/vb0x67grnjktyzeg0xlmz7vox3nnhul87h.png)
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:
![\displaystyle y-y_1=(y_2-y_1)/(x_2-x_1)(x-x_1)](https://img.qammunity.org/2021/formulas/mathematics/college/23qadvao41i7o4ifvkjzluiximg3ahexep.png)
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.
![\displaystyle y-1=(0-1)/(1-0)(x-0)](https://img.qammunity.org/2021/formulas/mathematics/college/iab58yze4cdjyy7qsob2r86z34iyr9liho.png)
![\displaystyle y-1=(-1)/(1)(x-0)](https://img.qammunity.org/2021/formulas/mathematics/college/uaqgn4eh681hx5m7081qr5ku5sxx17lokr.png)
![\displaystyle y-1=-x](https://img.qammunity.org/2021/formulas/mathematics/college/wktlw1v2ar4ab6a3grvowb6pmwgacw2uhc.png)
Reducing:
![\boxed{y=1-x}](https://img.qammunity.org/2021/formulas/mathematics/college/dm9fkcf36w4q8svpw56bio0pox3mp4tbrt.png)