Answer:
Jessica lived 10 months in Spain and 8 months in Colombia.
Step-by-step explanation:
Let x be the months Jessica spent in Spain, and y the months she spent in Colombia:
1. x + y = 18
Using the information of words per month learned in each country, we can also write the equation:
2. 160 * x + 200 * y = 3200
So now we have a system of two equations and two unknowns.
First we express y in terms of x, in the first equation:
We replace y in the second equation:
And solve for x:
Finally we use that value of x in the first equation and solve for y:
Jessica lived 10 months in Spain and 8 months in Colombia.