How To Calculate Distance Formula In Physics