Formula For Distance Between 2 Points On A Graph