Jackson's school is at P, and his house is at Q. If they are 6 grids away from each other along the vertical direction, find the value of y.