Distance and position problems