Hi,

How much do you know about finite fields? In particular, up to isomorphism, there is exactly one field of order q for q a power of a prime p. So you can assume:

Now in a finite field F, the multiplicative group of non-zero elements of F is cyclic with generator, say a. For your first problem, then, use this fact and the fact that in any field a polynomial of degree m has at most m zeros.

For your second question,

with . Also .