Look for repeating mistake patterns, not single bad results.
A weak Maths foundation rarely announces itself with a clear "fail" in early years. School topics are usually broken into short chapters, and a student can collect enough marks on the easier questions to make the report look fine. The weakness only becomes obvious when topics start combining: algebra plus geometry, fractions inside equations, word questions that need interpretation.
The earlier a parent can name the weak step, the smaller the repair. Year 7 to Year 9 is the window. By Year 10 the pace picks up; by Year 11 it is rescue mode.

