To calculate the total after the promotion, we'll write a method.

Start by typing in the property totalSalary, followed by a colon.

Make sure to type in totalSalary:.