george bought the following amounts of stock a over the years

On October 12, 2017, he sold 1,200 of his shares of Stock A for $38 per share.
a. How much gain loss will George have to recognize if he uses the FIFO method of accounting for the shares sold?
b. How much gain loss will George have to recognize if he specifically identifies the shares to be sold by telling his broker to sell all 750 shares from the 5 22 2001 purchase and 450 shares from the 11 21 1986 purchase?