you should only need one array to do what you are describing, each row in the array can hold multiple values
first entry:
array(0,0) = x value, array(0,1) = y value, array(0,2) = Position
second entry:
array(1,0) = x value, array(1,1) = y value, array(1,2) = Position
you would define the array size as (#entries,3,1)
however, if you know you have a 6 x 6 grid, it should be pretty easy to calculate the x and y values when the position number is 1, unless I don't understand what you have in mind.
it would help if you made a mock up of what the final screen would look like, the 6 x 6 grid, and safe path for the player to follow.