Assume a nation's per capita daily caloric intake is currently 1400, and total caloric supply increases by 2% annually while the population grows by 3% annually. How many years until the nation's per capita daily caloric intake reaches a life threatening level of 1200 calories per day?

A nation does not have to be self sufficient in food production. 1200 Calories per day should also not be regarded as "life threatening" in terms of starvation.

But, to play along with this game, set
1400*(1.02)^t/(1.03)^t = 1200
and solve for t (in years)