how to find the solution for 2 point slope form equation?