Answer:
x=5
Step-by-step explanation:
set the first equation to 18. Then add 12 to both sides. Then divide by 6 by both sides. final answer is 5. Hope that helps!