The profit from selling the shares in company X given the selling price and the purchase price is TZS X100,000.
Profit is the total selling price less the purchase price. A profit is earned when the selling price is greater than the cost price. If this is not the case, a loss is earned.
Profit = TZS X400,000 - TZS X300,000 = TZS X100,000
To learn more about profit, please check: https://brainly.com/question/26181966