Look at A's first, subtract Monday's closing price from Tuesday's closing price (that is, Tuesday's opening price), and then get A's earnings per share on Tuesday (excluding fees and taxes). Earnings per share multiplied by the total number of shares of A is equal to the number of shares with earnings per share of 200 B on Tuesday compared with Monday. Then calculate Wednesday's earnings per share and give their total profits of A shares and B shares on Tuesday and Monday, and then you can get the following relationship.
0.5X+(-0.2Y)=200
0.4X+0.6Y= 1300
Then solve this equation.
The result is that X (A) is 1000 shares.
Y (B) is 1500 shares.