I was in your position before, also stuck in a state I hated. If you're thinking about cheating then you already know you didn't prepare well enough. I'm sorry. Try your hardest, who knows maybe you pass anyway.
Cheating, especially with math, is not an option. Your future classes will depend on what you learn now. Your job eventually will need this. Think about it architects and engineers of our bridges and buildings cheated, it's important that you learn.
If you don't, failing isn't the worst thing. Just know it means you need to try harder next time. Reaffirm yourself and try again. Your life will not change much, there will always be another chance.
What would hsppen if you pass, but later is found out to have cheated?
Then that means that not only your skills are in question, but also your honesty.
You can recover from a lack of skill, it is much harder to recover from a lack of honesty.
Don't. It seems getting caught is a bigger risk.
Also, how do you even cheat on math, unless you have the answers?
You probably should have taken the course more seriously if it holds such importance in your life.