First, add color(red)(5)5 to each side of the equation to isolate the xx terms while keeping the equation balanced:
2x - 5 + color(red)(5) + x = 17 + color(red)(5)2x−5+5+x=17+5
2x - 0 + x = 222x−0+x=22
2x + x = 222x+x=22
Next, combine like terms on the left side of the equation:
2x + x = 222x+x=22
2x + 1x = 222x+1x=22
(2 + 1)x = 22(2+1)x=22
3x = 223x=22
Now, divide each side of the equation by color(red)(3)3 to solve for xx while keeping the equation balanced:
(3x)/color(red)(3) = 22/color(red)(3)3x3=223
(color(red)(cancel(color(black)(3)))x)/cancel(color(red)(3)) = 22/3
x = 22/3