You can put this solution on YOUR website! d=|Ax[0]+By[0]+C|/sqrt(A^2+B^2) distance formula from a point to another line.
where x[0] and y[0] are the point and Ax+By+C=0 is the line.
.
3x+4y+5=0
4y=-3x-5
y=-3x/4 - 5/4
(0, -5/4) is a point on the line.
.
3x+4y+2=0
d=|3(0)+4(-5/4)+2|/sqrt(3^2+4^2)
=|-5+2|/5
=3/5
.
Ed
.