For this question, you want to eliminate the parentheses and have n on just one side of the equation so n equals a number value.
First, let's remove the parentheses. Because there is a -3 in front of (8-3n), the three must be multiplied by every term inside the parentheses. The negative sign from -3 changes the minus sign between 8 and 3n, so it becomes an addition sign: -3(8-3n)= -3•8–(-3)•3n which is -24+9n.
Now the equation is -40+5n= -24+9n. Notice how n appears on both sides of the equation. You want to isolate n so it can be solved, so you do what is called combine like terms (grouping terms together that have the same "tag"). In this case, 5n and 9n are like terms, so one of them can be "moved" to the other side of the equal sign. It's a little easier to keep terms positive, so let's combine 5n with 9n by taking 5n away from both sides: -40+5n -5n= -24 +9n -5n which is -40= -24 +4n.
Doing the same for the numbers since numbers can be grouped together, combine -24 to -40 by adding 24 to both sides so it leaves 4n isolated: -40 +24= -24 +24 +4n.
Now the equation is -16=4n. Here, we want to isolate n, so we must remove the coefficient (the number in front of the variable, here it's 4) by dividing from both sides: -16 /4= 4n/4.
This leaves us with n= -4. It's a good idea to check to see if it works, but be careful with the negative signs!: -40+5(-4)= -3[8-(3•-4)] which is -40+ -20=-3(8- -12) or -60= -3(20).
Does -60=-60? YES so n= -4