Set up an equation to solve the problem: after a deposit of 500 yuan in the bank and 880 yuan in the bank, a deposit of 50 yuan a month and a deposit of 120 yuan a few months later, B deposit is twice as much as a deposit

Set up an equation to solve the problem: after a deposit of 500 yuan in the bank and 880 yuan in the bank, a deposit of 50 yuan a month and a deposit of 120 yuan a few months later, B deposit is twice as much as a deposit

After x months
2(500+50x)=880+120x
1000+100x=880+120x
1000-880=120x-100x
120=20x
The solution is x = 6
[answer] six months later