Answer:
3000 invested in stock A
2000 invested in stock B
Step-by-step explanation:
Given
--- rate of stock A
--- rate of stock B
--- Amount invested
---- Value of stock
Required
Determine the amount invested in each
Let
Amount invested in A
Amount invested in B
So:


Make x the subject

The gain on stock A is:




The gain on stock B is:




So, we have:
----- i.e. total gain on both stocks


Collect like terms


Solve for y

To solve for x, we have:


