Final answer:
To find the number of months it would take for both accounts to have the same amount of money, set up an equation.
Step-by-step explanation:
To find the number of months it would take for both accounts to have the same amount of money, we can set up an equation.
Let's assume the number of months is 'x'. For Bank A, the amount of money in the account after 'x' months can be represented as: $100 + $50x. For Bank B, the amount of money in the account after 'x' months can be represented as: $250 + $20x.
We need to find the value of 'x' when the two expressions are equal: $100 + $50x = $250 + $20x. By solving this equation, we can determine the number of months it would take for both accounts to have the same amount of money.