how to find if a point is on a graph