Write an equation from 2 points