Failling college. Should I give up on the Math Major?

This is truly off my chest.

I don't know what to do anymore, this is an atypical situation actually. I was studying Engineering in one of the best universities in my country, getting good grades such as As and Bs\*. I decided to change to another university and major in Math, the problem is that the transfer period of this university is fucked up, totally. I ended up missing one month and half out of \~4 months (shorter semester bcuz covid) due to the transfer period and I am failling everything, I am so devasted and lost.

4 days after I got to go to my first class in Abstract Algebra I had an exam, that obviously I failed. All the students spent more than one month studying for this exam and I had less than 3 days, basically I asked the teacher if he could give me another exam because I came from another university and I watched only a single class, but he simply didnt give a f\* and told me to go to the exam, I tried to talk to the chairman, but he couldn't solve anything. And worse, the teacher got mad with me after that and took me out points on questions that I got right - I googled the questions to verify when got home and received my grade.

That same week, I had more exams, in Physics, Calculus, another math subject and experimental physics. I tried to learn everything from all 5 subjects in 1 week to take the exams and obviously failed. I have severe ADHD, so I can't concentrate at all and my As and Bs are going away. I also have to admit that I don't have a study habit I don't write anything down in my notebook at all and I started to get lost, but I already was.

Not only, the average of my class in that calculus exam was 2/10, in my country it is normal that \~80% fail or drop the course (\*so Bs and As are considered pretty rare) and seems I am going to the same path of Fs. I am so so sad, I used to help my peers in math, I LOVED math and I am failling tremendously I dont know what to do, I am so lost due to the transfer, lost due to ADHD (not medicated, but I do have a formal diagnose) and seeing that maybe I have zero future in Math and should just give up, but I dont want to give up. Jesus I am failling everything and I dont know what to do, everyone, including my family, thinks I am doing so well and thinks that I am so happy at this college, but I cry all day and dont know how to get out of this...