I'm going to email my teacher to ask about last-minute grade adjustments.
Why do you need a last minute grade adjustment?
I'm afraid I'm going to fail the class, I'm not doing very well on the assignments.
Contacting your teacher is the correct way to deal with this. They may be able to help you if you're really struggling. You should have contacted them before the situation became this serious.
I'll contact them and see if they can help.
Hopefully they can help you to not fail the class. In the future, you really need to focus on your work and when you first start to have trouble, contact the teacher for help.