The table shows the number of points scored by three players in last nights basketball game. If Ray and Bill scored the same number of points, how many did John score?

Player  Points

John  / x

Ray  / 3x-6

Bill  / 4x-10