Check the final answer first, then review the worked steps.
\log_{2}4 = x \implies 2^{x} = 4 \implies 2^{x} = 2^{2} \implies x = 2