I bet you just had teachers who couldn’t adapt to your learning plan.
For instance, we had a set of algebra manipulatives that were basically colored pieces and dice. You could learn to do sets of equations with them without even realizing what you were doing.
If you can do medical math, you can do algebra. I bet if you had a good teacher you’d have done great.
And I had dreadful allergies. Back in those days...they treated allergies with Benadryl. My mom would give me a couple of Benadryl and send me off to school and I would go through the day in a stupor.
To this day, if I take one Benadryl, I sleep like the dead all night.
I literally remember sitting in class thinking “What? Where am I?” Heh heh!