To reach a point S, you travel 5/6 miles to the left of R. But you take a wrong turn and travel in the opposite direction. If you travel in the right direction, you will reach x/6 miles from the starting point R. Find the value of x.