profit and loss formulas and tricks