Help please and based on the answer that I’m supposed to get would it have the same solution?

Solution
To get equation B from A
Distributive property
a(b + c) = ab + ac
=>3(x + 2) = 18
=>3x + 6 = 18.
D. Rewrite one side (or both) using the distributive property.