distance formula practice problems