The second point is on the graph of cosine, but the first point is not. The graph of cosine has a repeating hill and valley pattern. The pattern repeats after intervals of length in both directions. In particular:
So the point is on the graph of cosine.