Just because the $n$ values share a common factor doesn't mean that you can't apply CRT. If you get a contradiction such as $x \equiv 1 \pmod 6, x \equiv 2 \pmod {15}$ which imply $x \equiv 1 \pmod 3$ and $x = 2 \pmod 3$, then there is no solution. However, you can always break down $n$ into its prime factors, as you can see in this answer.
You can directly substitute the second into the first, which gives $15k + 7 \equiv 2 \pmod {20}$, or $15k \equiv -5 \pmod {20} \implies 3k \equiv -1 \pmod {4}$. This gives $3k \equiv 3 \pmod 4$ or $k \equiv 1 \pmod 4$.
Thus the general solution is $15(4k + 1) + 7 = 60k + 22$, where $60$ is the greatest common divisor of $15$ and $20$.