Let's start from the first question, that is solving the congruence equation...

(1)

In the set of integers mod 27 the number 7 has as multiplicative inverse 4, so that from (1), multilying both terms by 4, we obtain...

(2)

Is that the only solution of (1)?... the question is open...

Kind regards