In a question I was answering, I needed to solve these congruences to proceed, and find the least $k<1000$
$$2k+k^2 = 0 \pmod 3$$
$$ 2k^3 + 6k = 0 \pmod 7$$
$$ k = 0 \pmod 2$$
My try:
due to the third statement
$$ k = 2j$$ for some integer $j$,
due to the second statement $$ k = 7x ; k= 7x+2$$ for some integer $k$
due to the first statement
$$ k = 3y+1; k = 3y$$
can I just exhaust all of the $4$ possible cases due to these statements and use the Chinese remainder theorem? I don't know if I'm doing it right or not.