An analysis of middle-years school mathematics textbooks