Task 2, mathematical operations