The task is to generate the correct answer for a given math problem.

Problem: zachary is helping his younger brother , sterling , learn his multiplication tables . for every question that sterling answers correctly , zachary gives him 3 pieces of candy . for every question that sterling answers incorrectly , zachary takes away two pieces of candy . after 6 questions , if sterling had answered 2 more questions correctly , he would have earned 31 pieces of candy . how many of the 6 questions did zachary answer correctly ?
7

Problem: what is the sum of the numbers between 1 and 14 , inclusive ?
105

Problem: the annual birth and death rate in a country per 1000 are 39.4 and 19.4 respectively . the number of years x in which the population would be doubled assuming there is no emigration or immigration is

x = 35