I'm sorry you're going through all this. I understand because I, too, have memory problems. But I am an older lady and disabled anyway.
Have you tried getting some books to re-learn the material? I'd heard that if you really learned it the first time, re-learning takes less time. It might be worth a try...
I'm told to write things down, plus it helps to go over stuff again and again.
I hope things will get better for you.
P.S. Check your meds. Some might be making your problems worse. And have you ever heard of state-dependent learning? For instance, people remember more when they study for a test chewing bubble gum when they take the test chewing the same kind of bubble gum. Worth a bit of thought, anyway.
(I am a social psychologist and was a college professor.)