I remember for math tests in high school/college it was easier for me to derive formulas than to remember it.

I used to think I wasn’t very good at math, because I struggled to route memorize formulas and the like. Then I had a calculus professor in class that took a bunch of time explaining how to derive the formulas we were using and it unlocked everything for me. I’m much better at deriving from core principles than trying to remember a bunch of formulas and algorithms for solving problems.