Why absolute value? . Because distance is a positive measure.
I get that hes putting the points into the slope of the other one . What?
to get maybe a parallel line, but thats all I get.
Why the sqrt of (A^2+B^2) ? . Why not?
You're expected to derive that formula, aren't you?
Well, do it . . . and you'll see why.