Depends on your definition of both of those terms. Being able to solve a simple equation is generally useful. You probably don't need much more than that to understand Set Theory or much of Logic. You can learn to write proofs without knowing calculus, etc.

Maths is such a wide field that terms like "advanced" have little meaning imo. Or rather, advanced doesn't have to mean complex, and even complex doesn't have to mean inscrutable. But then even simple problems can turn out to be fiendishly hard.

Advanced means you got through the basic quick enough to need more stuff to do. Or move up a year early.