What exactly is the question? If she has only got two years to live, help her enjoy it.
Even if she qualifies for HUD housing, it will still be 30% of adjusted gross income, not much less than this apartment.
She plans to spend down what assets she has until she only has the $14,000 in annual social security- then go HUD, food stamps and all.