Her savings amounts after x months will be ...
... 400 + 20x
or
... 300 + 40x
You want to find x such that these are the same amount. So, we equate these values and solve for x.
... 400 + 20x = 300 + 40x
... 0 = -100 + 20x . . . . . . . . . subtract the left side
... 0 = -5 + x . . . . . . . . . . . . . divide by the coefficient of x
... 5 = x . . . . . . . . . . . . . . . . add the opposite of the constant
Using the first option, we find the savings amount to be
... 400 + 20·5 = 500
After 5 months, Tina will save $500 with either option.
_____
Once you have the expressions for the options, it is convenient to let a graphing calculator tell you the point where they are the same.