You need to isolate the variable (x) by performing the opposite operation.
Since 3 is multiplied by x, the opposite would be dividing by 3. What you do on one side you do on the other side, so you would need to divide -12 by 3 as well.
In your case, the answer is B