how to calculate difference in math - Search