\(64-x(3x-27)\div2=40\)
\(\Rightarrow x(3x-27)\div2=64-40\)
\(\Rightarrow x(3x-27)\div2=24\)
\(\Rightarrow x(3x-27)=24\div2\)
\(\Rightarrow x(3x-27)=12\)
\(\Rightarrow4x+27x=12\)
\(\Rightarrow x(27+4)=12\)
\(\Rightarrow31x=12\)
\(\Rightarrow x\in\varnothing\)