Let me give you hint for part 2.

Let

Thus, as order of is

Under this implies . But is that possible if and both . Hence can you conclude order of is n. Hence it is a generator.

For the reverse side. Claim . But if is generator its order = . What can you then claim about ?