From the encryption law...

(1)

... we derive the 'decryption law'...

(2)

The problem in this case is represented by the term , that is the 'multiplicative inverse' of the element . But is not prime so that not all the do have multiplicative inverse...

Kind regards