p is even

Even integers are those that are mutiples of 2. Since p2 = 2q2 we see that p2 is even.

There are only two possibilites for p: either p is even or p is odd.

If p were odd then p2 would also be odd, so p is even.