First, multiply each side of the equation by #color(red)(8)color(blue)(x)# to eliminate the fractions while keeping the equation balanced:
#color(red)(8)color(blue)(x) xx 6/8 = color(red)(8)color(blue)(x) xx 12/x#
#cancel(color(red)(8))color(blue)(x) xx 6/color(red)(cancel(color(black)(8))) = color(red)(8)cancel(color(blue)(x)) xx 12/color(blue)(cancel(color(black)(x)))#
#6x = 96#
Now, divide each side of the equation by #color(red)(6)# to solve for #x# while keeping the equation balanced:
#(6x)/color(red)(6) = 96/color(red)(6)#
#(color(red)(cancel(color(black)(6)))x)/cancel(color(red)(6)) = 16#
#x = 16#