on the right side, give a reason to justify each step made on the left

Given that: step 1
[tex]3x+12=8x-18[/tex]step 2: subtract 3x both side
[tex]\begin{gathered} 3x+12-3x=8x-3x-18 \\ 12=5x-18 \end{gathered}[/tex]Step 3: Add 18 both side:
[tex]\begin{gathered} 12+18=5x-18+18 \\ 30=5x \end{gathered}[/tex]Step 4: divide both side by 5
[tex]\begin{gathered} \frac{30}{5}=\frac{5x}{5} \\ 6=x \end{gathered}[/tex]Step:6 The value of x is:
x=6