Automorphisms of a finite cyclic group

Let Zn denote the cyclic group of order n. Suppose m∈N is relatively prime to n. Define the function μm:Zn→Zn by μm[a]n=[ma]n.
(a) Prove that the map μm is a well-defined automorphism of Zn.
(b) Prove that any automorphism of Zn has the form μm for some m.