And this need to hunt and be alert meant that males with good spatial abilities survived through natural selection. I would say this is true. I would have thought that culture would have an effect. Both cultural and biological influences have an effect in all stages especially adolescence. Whether one is greater than the other at any one point is always a debatable subject with many other aspects other than just mathematical ability.
School holds a lot of social challenges for everyone.
This often results in pupils acting in stereotypical ways determined by social forces. For males this often involves them acting loud, dominant, aggressive e.t.c. which can affect how they learn and are taught. True, although there is said to be more equal opportunities the types of maths-intensive jobs are still largely dominated by males. Perhaps this is why less females pursue a further education in this field, or perhaps it is due to it. It seems unrealistic that this could ever happen even if it means an equal outcome in the end.