Check the final answer first, then review the worked steps.
$$12 \cdot 2 = 3x \implies 24 = 3x \implies x = 8$$