Get your taxes done using TurboTax

because "FIFO" stands for first in first out.

 

You stated your originally purchased 200 shares which is now the equivalent of 400.  100 of those first 400 shares is what you sold under the FIFO method. the reinvested dividends have their own cost basis.