I'm sorry you're going through this. I'm a student as well, and I understand the struggles of trying to do homework or study when it feels impossible to complete.
I genuinely believe a 4-5 paragraph post is doable in a day, and I believe in you - however, my words may be reaching you too late, unfortunately.
That being said, you should evaluate if the extreme mental burden is worth it to you right now. Putting yourself through a course that is going to cause a severe mental collapse might not be worth it. If you don't think it's manageable right now, there is no shame in retaking the course when you are in a better state of mind.