I would hesitate before dropping. Getting W's or F's, as you know, is a difficult thing to overcome - especially when it's in your post-bac, which is supposed to be your chance to make up for past indiscretions.
There are only a few math concepts you need for chemistry, and it's not impossible that you could learn them and pull through in your class. You just need to get on top of them right now. Find yourself a good tutor (this can be easier said than done) and have them walk you through how to solve quadratics and log problems.
A bad tutor will simply show you the equations and how to use them. A good one should teach you what a 2nd order polynomial is, why it is significant, why we need a special way to solve for them, where the solution comes from, and three different techniques for getting the answer. (There are at least that many, with the quadratic equation being the most annoying to use).
Similarly, he or she should explain what logarithmic means, explain its connection to exponentials, make you thoroughly comfortable with the basic rules of exponents and logs, and then show you tricks to solve log problems.
For both types, they should be able to help you with your existing problems but more importantly, create dozens or hundreds of pure log/polynomial/exponent problems for you to practice on until it's something you just do, without any difficulty. Then, you can focus on the science and not the math.