Example chart

StockAmount Invested ($)Original Share Price ($)No. of SharesNew Share Price ($)Value of Shares ($)
A
10000
100
100

$102

10,200

B
10000
400
25

$404

10,050