The points are and .
Standard form of line equation using the points and is .
Substitute and in the line equation.
The function is .