just failed Math 137 midterm

Idk if its just me but am I just dumb? The questions on mobius parts didnt make any sense and havent seen them on course notes either. Im doing pretty well on cs but I did pretty bad on Math 135 (didnt fail but bad) and now I just straight up failed this one. Maybe time for me to switch schools?