To solve the equation [tex]\(5x + 9 - 3x = 18 + 15\)[/tex], follow these steps:
1. Simplify both sides of the equation by combining like terms:
On the left side:
[tex]\[
5x + 9 - 3x = (5x - 3x) + 9 = 2x + 9
\][/tex]
On the right side, add the constants:
[tex]\[
18 + 15 = 33
\][/tex]
So the equation now is:
[tex]\[
2x + 9 = 33
\][/tex]
2. Subtract 9 from both sides of the equation to isolate the term with [tex]\(x\)[/tex] on one side:
[tex]\[
2x + 9 - 9 = 33 - 9
\][/tex]
[tex]\[
2x = 24
\][/tex]
3. Divide both sides by 2 to solve for [tex]\(x\)[/tex]:
[tex]\[
\frac{2x}{2} = \frac{24}{2}
\][/tex]
[tex]\[
x = 12
\][/tex]
So, the solution to the equation [tex]\(5x + 9 - 3x = 18 + 15\)[/tex] is:
[tex]\[
\boxed{12}
\][/tex]
Therefore, the correct answer is:
[tex]\[
\text{B. } x = 12
\][/tex]