Party A and Party B deposit in the bank, 500 yuan for Party A and 880 yuan for Party B. after that, 50 yuan for Party A and 120 yuan for Party B every month. After a few months, the deposit of Party B is twice that of Party A?

Party A and Party B deposit in the bank, 500 yuan for Party A and 880 yuan for Party B. after that, 50 yuan for Party A and 120 yuan for Party B every month. After a few months, the deposit of Party B is twice that of Party A?

After x months of solution
2(50x+500)=880+120x
100x+1000=880+120x
20x=120
x=6
A: six months later, B's deposit is twice that of A