2011X+2010Y=6032 (1)
2010X+2011Y=6031 (2)
(1)+(2)
4011X+4011Y=12063
X+Y=3(3)
(3)×2011-(2)
X=2
Y=3-X=1