Ultimately the solution is better STEM foundation at the very very early ages. Universal pre school would probably be very useful. Empirically [edit: n = 1 or 2], it seems that drilling basic arithmetic and then multiplication tables early in pre K and earlier elementary will give students a better intuitive math foundation to do algebra very well. That would enable everyone to go into more advanced classes at the sa…
Pre-K (4 year olds) seems a bit young for teaching multiplication tables.
Though empirically, I don't know about age 4 but kindergarten is definitely not too young for learning up to 12*12. And once you figure out multiplication and eventually mental division, it's not too big of a leap to have one variable algebra with "move a plus to the other side to become minus" etc. The formalism can come later but it's fantastic to have some exposure to moving numbers and symbols around from an early age.