2 struggling S&P 500 stocks where I smell opportunity

Investors have sold off this pair of S&P 500 stocks over the past 12 months. Why does this writer think they now look attractive opportunities?