Thay x=2 vào pt, ta được:
\(\left(2\cdot2+1\right)\cdot\left(9\cdot2+2k\right)-5\cdot\left(2+2\right)=40\)
\(\Leftrightarrow5\left(2k+18\right)-5\cdot4=40\)
=>5(2k+18)=60
=>2k+18=12
=>2k=-6
hay k=-3
\(x=2< =>\left(2\cdot2+1\right)\left(9+2+2k\right)-5\cdot\left(2+2\right)=40\)
\(< =>5\cdot\left(18+2k\right)-20=40\)
\(< =>90+10k-20=40\)
\(=>k=-3\)