Consider the numbers $ax^2$, $c-by^2$, where $x,y=0,1,…,p-1$. There are $2p$ such numbers. Any residue class, except for $0$, can have at most two elements of the form $ax^2$ and at most two elements of the form $c-by^2$ from the ones listed above.
I’m trying to understand the logical deductions happening here. Any residue class refers to residue classes of $1$ (mod p), $2$ (mod p),…,$p-1$ (mod p). Then, for residue class $1$ (mod p), there are at most two elements of the form $ax^2$ because both $a(-1)^2$ and $a(1)^2$ are elements of the residue class $1$ (mod p). Is my understanding correct? If my understanding is incorrect, then please tell me what’s happening here. Oh, by the way, $a$ and $b$ are not divisible by $p$.