Gre Geometry Doubt

In this question, we have p= 7, q = 11 , then r will be 13, hence proved the answer greg has given for it is wrong, r square can’t be even, or I am doing something wrong.

Sorry!, I did a calculation mistake there, caught my mistake

How did you get ‘r’ as 13?