Looks to me like we’re playing the Yankees at home. If the Oakland game gets the A’s a win, and both the Yankees and Blue Jays both lose... it doesn’t matter if the Indians or twins lose or win.
In either of those situations we would be 4th and play the Yankees at home.
edit: scratch that, if the Indians and twins both win under the above - were playing at Minnesota as the 7th seed.