Question 2: Find two elements distance