In attempt #1 I was jumping ahead to read the interesting stuff (calculus), and while I could make some progress, it was needlessly difficult because I didn't start from the basics.
It attempt #2 I started from the very beginning (course 1 out of 10 mandatory high school courses), and focused on doing exercises. However progress was slow, because I would just continue forward when I felt like it.
Finally attempt #3 was successful. I committed to doing exercises in order consistently every day after waking up. This felt great, as every week I was making noticeable progress, and having all the prerequisite knowledge for each next step made progress much easier than I had imagined it could be.
With the slow start but gaining pace towards the later courses, I finished this self-study project in 2 years (could have been close to half that, had I gotten into the groove from the beginning), and found it quite enjoyable. It didn't feel like a chore at all, more like the highlight of each day.