Explanation:
The algorithm is nothing but a set of instructions. You give your computer those instructions, and it'll perform that way.
Pay rate times 40
Pay rate times minus forty.