x shares pay 8% dividend and y shares pay 9%. Reiko has invested 200000 more on x shares than she has on y shares. Her total earnings for the year for the two investments is 271000. How much did she invest in x shares