One wild idea if you are not able to pass chemistry this time.
In university I was a math major. I attended a university that required that I take at least one chemistry course. However, thermodynamics counted as a chemistry course, and was one option that I was allowed to take instead of chemistry. Thermodynamics is also quite a bit more mathematical and logical and less memory intensive compared to other chemistry courses. I took it, liked it, and even pulled off an A. You might want to see whether this would count to fulfill your chemistry requirement. Being more mathematical and logical sounds like it might help an engineering student just as much as it once helped a math student.
And thermodynamics might be more relevant to engineering compared to chemistry.