x + y = 51 and 35x +50y = 2220