What is the line segment of a and b

When a is 0,6
And b is 6,0

The line segment connecting points A(0,6) and B(6,0) can be represented by the equation y = -x + 6.