Explanation
Step 1
set the equation
a) let x represents the number
[tex]number=x[/tex]b) now , translate
[tex]i)Mary\text{ multiplied a number by 3}\Rightarrow x*3=3x[/tex]then
[tex]\begin{gathered} ii)shed\text{ added the result to 6} \\ 3x+6 \end{gathered}[/tex]finally
[tex]\begin{gathered} iii)\text{ she got 12, hence} \\ 3x+6=12 \end{gathered}[/tex]therefore, the equation is
3x+6=12
Step 2
now, solve the equation
[tex]3x+6=12[/tex]The subtraction property of equality states that if the same number is subtracted from both sides of an equation, then the equality still holds, so we can subtract 6 in both sides in order to isolate the term where x is, hence
[tex]\begin{gathered} 3x+6=12 \\ 3x+6-6=12-6 \\ 3x=6 \end{gathered}[/tex]finally, apply the division property of equality and divide both sides by 3
[tex]\begin{gathered} 3x=6 \\ \frac{3x}{3}=\frac{6}{3} \\ x=2 \end{gathered}[/tex]so, the number is 2
I hope this helps you