let y1 be the amount of money that ana will have in x days.
let y2 be the amount of money that ojo will have in x days.
the equation for ana is y1 = 300 + 50x
the equation for ojo is y2 = 1860 - 70x
they will have the same amount when y1 is equal to y2.
y1 is equal to y2 when 300 + 50x is equal to 1860 - 70x.
your equation to solve is 300 + 50x = 1860 - 70x
subtract 300 from both sides of this equation and add 70x to both sides of this equation to get:
70x + 50x = 1860 - 300
simplify to get:
120x = 1560
divide both sides of the equation by 120 to get:
x = 13
ana and ojo will have the same amount of money in 13 days.