Lesson 3 - Calculating profit and loss