Question 160202
This web site explains it in detail:
http://www.purplemath.com/modules/distform.htm
.
If you still have trouble, write back.