To solve this we will use DMAS rule is followed when multiple arithmetic operations are there in a given problem like addition, subtraction, multiplication and division. It tells they should be performed in order of Division, Multiplication, Addition and Subtraction