To clear 'w' the first step is to take -7 to the other side of the equality sign. It goes with opposite sign, so possitive:
[tex]5(3w-2)=23+7[/tex]Now 5 goes to the other side with opposite operation. Since it's multiplying it has to divide on the other side:
[tex]3w-2=\frac{23+7}{5}[/tex]Now we have to take 2 to the other side with possitive sign:
[tex]3w=\frac{23+7}{5}+2[/tex]Finally, 3 has to divide all the expression on the right side:
[tex]w=\frac{\frac{23+7}{5}+2}{3}[/tex]And solve (you can also solve in the steps to make it easier):
[tex]w=\frac{\frac{30}{5}+2}{3}=\frac{6+2}{3}=\frac{8}{3}[/tex]