You can put this solution on YOUR website! The midpoint is the average of x and y values of the endpoints.
.
.
From the slope,
So now you have a relationship between , , , and .
You're free to choose .
So when
.
.
.
(0,17) and (12,-3) are one set of A-B points.