Let #l# be a line described by equation ax+by+c=0 and let #P(x,y)# be a point not on #l#. Express the distance, #d# between #l and P# in terms of the coefficients #a, b and c# of the equation of line?

enter image source here