The formula that gives the distance between a point A=(m,n) and a line r:ax+by+c=0 is:
Find the distance from the point A=(6,2) to the line that goes through the points P=(7,0) and Q=(1,-8)
D =