The most important thing is to stop trying to memorize formulas and start understanding where they come from. Like, instead of memorizing Bhaskara's formula, try deriving it from scratch, get the reasoning behind it. When you know why that formula exists, it sticks in your head naturally - it's not memorization, it's actual logic. It makes way more sense for your brain to store a concept than a bunch of random letters and numbers.
The technique that actually works is doing exercises pretty much every day, even if just a few. Like, it's not about studying for 3 hours on the weekend - that doesn't stick. Better to do 30 minutes every day solving problems, because then you're using the formula in practice, you see it showing up in different contexts, and that's what really works your memory. Put it into practice, get it wrong, get it right, see the formula being useful - that's when it sticks.
And when you're solving the exercises, write the formula out again instead of just looking it up in your notebook. Sketch it out, work with it, build it step by step. Your body and your muscle memory learn along with your brain. Two weeks is plenty of time if you do it right, no crazy memorization tricks.