Get points from x and y.