Retirement tax questions

Thank you. I will amend them to make sure everything is correct. Just to be sure does the wash sale only wash the loss from the first sale or does it wash the first sale and the second sale if they were both a sold for a loss?