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