Answer:
The answer to your question is y = x
Step-by-step explanation:
Data
A (1 , 1)
B (2, 2)
Process
1.- Find the slope (m) of the line
m = (y2 - y1) / (x2 - x1)
x1 = 1 y1 = 1
x2 = 2 y2 = 2
- Substitution
m = (2 - 1) / (2 - 1)
m = 1 / 1
- Result
m = 1
2.- Find the equation of the line
y - y1 = m(x - x1)
- Substitution
y - 1 = 1(x - 1)
- Simplification
y - 1 = x - 1
y = x - 1 + 1
- Result
y = x