First, subtract the necessary values from each side of the equation to isolate the #x# terms on one side of the equation and the constants on the other side of the equation while keeping the equation balanced:
#5x + 3 - color(red)(3x) - color(blue)(3) = 7 + 3x - color(red)(3x) - color(blue)(3)#
#5x - color(red)(3x) + 3 - color(blue)(3) = 7 - color(blue)(3) + 3x - color(red)(3x)#
#5x - color(red)(3x) + 0 = 7 - color(blue)(3) + 0#
#5x - 3x = 7 - 3#
Next, we can combine like terms:
#(5 - 3)x = 4#
#2x = 4#
Now we can solve for #x# while keeping the equation balanced:
#(2x)/color(red)(2) = 4/color(red)(2)#
#(color(red)(cancel(color(black)(2)))x)/cancel(color(red)(2)) = 2#
#x = 2#