The first congruence forces \(x\) to be even and the second forces it to be odd, so there is no solution. The options giving a class modulo \(24\) ignore that \(\gcd(6,4)=2\neq 1\).
The Chinese remainder theorem states that a system of linear congruences with pairwise coprime moduli has a unique solution modulo the product of those moduli.