The European Commission has repeatedly highlighted the fact that the Spanish education system has not reached any of the objectives set for secondary students' achievement (Valle et al., 2009). A recent report of the National Statistics Institute shows that Spain has managed to reduce the rate of school dropout over the last ten years from 31.7% to 17.3% in 2019. However, Spain is still one of the EU countries with the highest school failure rate for young people aged 18 to 24 (INE, 2019). These youth leave education having completed, at most, only the first part of secondary education (ESO). The mathematics subject is an expected concern for the Spanish school system, given the fact that math is involved in a wide range of activities and expertise in modern society. Understanding math is an absolute necessity in a society that is becoming ever more complex and technology-dependent. Nowadays, most sciences, including social sciences such as sociology, psychology, and economics, use more and more mathematical tools. Math is used in sport, dietetics, traffic management, population management etc. However, most academic difficulties and failures are concentrated in math. In fact,