d: \(\Leftrightarrow2\left(x-4\right)+3\left(x+4\right)=24-x^2+16\)
=>\(2x-8+3x+12=40-x^2\)
=>\(x^2+5x+4-40=0\)
=>x^2+5x-36=0
=>(x+9)(x-4)=0
=>x=-9
e: \(\Leftrightarrow2\left(x+1\right)=x^2-x+1+2x+1=x^2+x+2\)
=>x^2+x+2=2x+2
=>x^2-x=0
=>x(x-1)=0
=>x=0 hoặc x=1
f: \(\Leftrightarrow\left(x+4\right)\left(x-4\right)-\left(x+3\right)^2=4x+5\)
=>\(4x+5=x^2-16-x^2-6x-9=-6x-25\)
=>10x=-30
=>x=-3(loại)