The point of the RSA system is that there isn't a good method, unless we have a way to factor the modulus.
However, modern computers are powerful enough to be able to factor two-digit numbers in a reasonable time -- in fact you can look up the factors of 35 on the internet and find $35=5\cdot 7$ and therefore $\varphi(35)=(5-1)(7-1)=24$.
This is important because we then know that $x^{24n+1}\equiv x \pmod{35}$ for every $n$ and a7ll $x$. So if you find a $k$ such that $5k\equiv 1\pmod{24}$ you have $x\equiv x^{5k} \equiv (x^5)^k \pmod{35}$ so raising $16$ to the $k$th power will give you $x$.
Solving $5k\equiv 1\pmod{24}$ is modular division, which you can do using the extended Euclidean algorithm.