Instrument for finding the distance of an object