There are two ways to do it either step 1 or step 2:
Step1: Terminal
Open a terminal and use
sudo apt-get install tuxmath
Step2: Software Manager
Press [SUPER] and type software
Type tuxmath in the search box and press enter select tuxmath from the list and click the install button .