A part of monthly expenses of a family is constant and the remaining part varies with the price of wheat. When the rate of wheat is Rs250 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 Rs980. Find the total monthly expenses of the family, when the cost of wheat is Rs350 a quintal.