Answer:
Shyam's original investment was $4000.
Explanation:
Suppose, Shyam's original investment was 
 dollar. 
In the first year, his stock increased 20%. So, the value of the stock will be: 
 dollar. 
He paid his stock broker $300 and then lost $450. So now, the value of the stock will be: 
 dollar.
He then withdrew $500, so the value of the remaining investment 
 dollar and this remaining investment doubled now. 
So, the value of the investment now 
 dollar, which is given as $7100. 
Thus, the equation will be.......

So, Shyam's original investment was $4000.