In an old exam it's asked to say which elements in $\mathbb{Z}_{14}$ have multiplicative inverses. Furthermore, it's asked to calculate the multiplicative inverse of $9 \text { mod } 14$ in $\mathbb{Z}_{14}$.
Now my question is how can you do this? Because it's not explained in our readings, also no task in any of our homework, so I don't know how this could be solved because I have no source / example : /
I have read some on the internet for the first part, how to get multiplicative inverse elements in $\mathbb{Z}_{14}$.
I think for this we need $\text{gcd(x, 14)=1}$? If so these would be inverse: $1,3,5,9,11,13$
I hope this is correctly done at least? But I have no idea for the second question..?