Galaxy's road to the playoffs

Mathematically, the Galaxy are still alive for a playoff spot. How is this possible, you say, considering their absolutely dreadful season?

It is MLS after all, and everyone is alive with two games to go, Galaxy included.

So how does the league's best offensive/worst defensive team get into the postseason.