Local media reported that the 35-year-old man had previously been enrolled at the adult education centre for several mathematics classes, without finishing them.