Problem: in 1990 the budgets for projects q and v were $ 500,000 and $ 780,000 , respectively . in each of the next 10 years , the budget for q was increased by $ 30,000 and the budget for v was decreased by $ 10,000 . in which year was the budget for q equal to the budget for v ?
Rationale: "let the no of years it takes is x . 500 + 30 x = 780 - 10 x - - > 40 x = 280 and x = 7 . thus , it happens in 1997 . e ."
annotated_formula: add(1990, multiply(10, multiply(const_2, const_3)))