We need to replace each letter with the required numbers (a with 2 and b with 4) in the expression they gave us,and then apply the orders for operation that are critical in math evaluation.
So first we write:

whre we have repkaced each letter by its value, making sure we use a parentheses to call the attention on the new values we are using.
Now we proceed using the order of operations that are simplified in the following pnemonics: PEMDAS.
P stands for "parenthesis" so we understand that first we need to solve whatever is in parenthesis in the original expression
E stands for "exponents", so they should ge next
MD stands for multiplications and divisions, which should go next
and finally AS which stands for "additions and subtractions" that go the very last in using operations between numbers.
So let's start by trying to address what is withing parenthesis in the first expression:

Here we have used that inside the parenthesis we had a product 3 times (4) that needs to be addressed first before doing the subtraction. So we did 3 (4) = 12 and then subtracted 12 from the number 2, obtaining a negative number "-10"
now proceed with the rest:

so iwe need now to