It will be helpful if you look at Chinese Remainder theorem and Fermat's Little theorem. My solution to the second question is actually quite difficult, and it requires some knowledge of quadratic residues.
For the first question, by Chinese Remainder theorem, $x^{2018}\equiv 1\mod 21$ iff
$$x^{2018}\equiv 1\bmod 3$$
$$x^{2018}\equiv 1\bmod 7$$
To solve the first congruence, first note that clearly $gcd(x,3)=1$. This means that we can apply Fermat's Little Theorem. We have
$$x^{2018}\equiv 1\bmod 3$$
$$\left(x^2\right)^{1009}\equiv 1\bmod 3$$
$$(1)^{1009}\equiv 1\bmod 3$$
Hence, the congruence is satisfied for all $x$ coprime to $3$, which means $x\equiv 1,2\mod 3$
To solve the second congruence, first note that clearly $gcd(x,7)=1$. This means that we can apply Fermat's Little Theorem. We have
$$x^{2018}\equiv 1\bmod 7$$
$$\left(x^6\right)^{336}x^2 \equiv 1\bmod 7$$
$$(1)^{336}x^2\equiv 1\bmod 7$$
$$x^2\equiv 1\bmod 7$$
$$x\equiv -1,1\bmod 7$$
So we have that $x$ must be congruent to $-1,1\bmod 7$ and $-1,1\bmod 3$. Using Chinese Remainder theorem, we can determine that there are $2^2$ solutions for $x$ in modulo $21$. Namely, (using brute force, or other methods) these are
$$x\equiv 20,1,8,13\bmod 21$$
For the second question, after dividing by $5$ (watch out since $5|205$), we have
$$x^{2107}\equiv 15\mod 41$$
To solve this congruence, first note that clearly $gcd(x,41)=1$. This means that we can apply Fermat's Little Theorem. We have
$$x^{2107}\equiv 15\bmod 41$$
$$\left(x^{40}\right)^{52}x^{27}\equiv 15\bmod 41$$
$$(1)^{52}x^{27}\equiv 15\bmod 41$$
$$x^{27}\equiv 15\bmod 41$$
Note that we have $15+41\cdot 8=343=7^3$. Let's substitute $u=x^9$.
$$u^3\equiv 15\bmod 41$$
$$u^3-343\equiv 0\bmod 41$$
$$(u-7)(u^2+7u+8)\equiv 0\bmod 41$$
Since the discriminant of $u^2+7u+8$ is $17$ and it's not hard to show with the law of quadratic reciprocity that using the legendre notation
$$\left(\frac{17}{41}\right)$$
$$=\left(\frac{41}{17}\right)$$
$$=\left(\frac{7}{17}\right)$$
$$=\left(\frac{17}{7}\right)$$
$$=\left(\frac{3}{7}\right)$$
$$=-\left(\frac{7}{3}\right)$$
$$=-1$$
Hence, $17$ is a nonquadratic residue of $41$, so we get that the only solution to $u$ is $u\equiv 7\bmod 41$. So we now have
$$x^9\equiv 7\bmod 41$$
Now substitute $v=x^3$, we want to find the solutions to
$$v^3\equiv 7\bmod 41$$
The solutions to this are not trivial like the previous equation. However, note that by Fermat's Little theorem, we have
$$7\equiv 7^{41}\equiv 7^{81}\equiv \left(7^{27}\right)^3\bmod 41$$
Hence, one of the solutions to
$$v^3\equiv 7\bmod 41$$
is $v\equiv 7^{27}\bmod 41$. Note that
$$7^{27}\bmod 41$$
$$\equiv 15^{9}\bmod 41$$
$$\equiv \left(15^2\cdot 15\right)^{3}\bmod 41$$
$$\equiv \left(20\cdot 15\right)^{3}\bmod 41$$
$$\equiv 13^3\bmod 41$$
$$\equiv 5\cdot 13\bmod 41$$
$$\equiv 24\bmod 41$$
Hence, we have the equation
$$v^3\equiv 7\bmod 41$$
$$v^3\equiv 24^3\bmod 41$$
$$(v-24)(v^2+24v+2)\equiv 0\bmod 41$$
Note that the discriminant of $v^2+24v+2$ is $568\equiv 35\bmod 41$.
Since $\left(\frac{35}{41}\right)=\left(\frac{5}{41}\right)\left(\frac{7}{41}\right)$, we can show using similar reasoning as before with the law of quadratic reciprocity that $\left(\frac{5}{41}\right)=1$ and $\left(\frac{7}{41}\right)=-1$.
Hence, $35$ is also a quadratic nonresidue, which means that the only solution to
$$v^3\equiv 7\bmod 41$$
is $v\equiv 35\bmod 41$
So we are now finally on the last lap with
$$x^3\equiv 35\bmod 41$$
This one also does not have any trivial solutions. However, as we showed before, we know that one of the solutions will be $x\equiv 35^{27}\bmod 41$. We have
$$35^{27}\bmod 41$$
$$7^9\bmod 41$$
$$15^3\bmod 41$$
$$13\bmod 41$$
Hence, we have
$$x^3\equiv 35\bmod 41$$
$$x^3\equiv 13^3\bmod 41$$
$$(x-13)(x^2+13x+5)\equiv 0\bmod 41$$
The discriminant of $x^2+13x+5$ is $149\equiv 26\bmod 41$
Since $\left(\frac{26}{41}\right)=\left(\frac{2}{41}\right)\left(\frac{13}{41}\right)$. It follows from the second supplement of the law of quadratic reciprocity that $\left(\frac{2}{41}\right)=-1^{\frac{41^2-1}{8}}=1$.
We can show using similar reasoning as before with the law of quadratic reciprocity that $\left(\frac{13}{41}\right)=-1$. Thus, the only solution to $x^3\equiv 35\bmod 41$ is $\boxed{x\equiv 13\bmod 41}$