Final answer:
Mary used the distributive property to rewrite the equation.
Step-by-step explanation:
Mary used the distributive property to rewrite the equation. The distributive property states that for any real numbers a, b, and c, a(b + c) = ab + ac. In this case, Mary distributed the 3 to both terms inside the parentheses (x and 4) to get 3x + 12. The rest of the equation remains unchanged.