Pedagogy of mathematics assignment