You can put this solution on YOUR website! The separation between the line will
have slope
If I pick the point ( 0,5 ) which is on
the line , then:
---------------------------
Find intersection of this line with
and
------------------
find distance between ( 0,5 ) and ( 2,4 )
----------------------
check the math