A part of monthly expenses of a family is constant and the remaining varies with the price of wheat. When the rate of wheat is Rs 250 a quintal, the total monthly expenses of the family are Rs 1000 and when it is Rs 240 a quintal, the total monthly expenses are Rs 980. Find the total monthly expenses of the family when the cost of wheat is Rs 350 a quintal.