help for cookie !!!!!!

Answer:
2
Step-by-step explanation:
8x - 5x + 4 - x = Ax + 8 ------- start by combining the on the left
(8x - 5x - x) + 4 = Ax + 8 ------- solve
2x + 4 = Ax + 8 ------ A has to be the same # as the variable on th left side
2x + 4 = 2x + 8 ------- now subtract 2x from both sides
4 = 8