findSlopeAndYIntercept

Return slop and y intercept of the line

Parameters

p1

: points on a line 1

p2

: points on a line 2