Miami needs 2 of 3 things to happen to get in:
1. First and foremost, they have to beat the Jets. If they lose to New York they're eliminated.
2. Miami needs Cincinatti to beat Baltimore. If Cinci wins, they get the #2 seed and the Dolphins are the #6 seed no matter what else happens.
3. If the Ravens win, Miami needs San Diego to beat Kansas City to get the #6 seed.
If KC and Baltimore win, the Ravens are the #6 seed. Chargers go to the playoffs with a win if Miami and Baltimore lose. Steelers would get in with a win if everyone else in the hunt loses.