How do you calculate profit in maths?