Get your taxes done using TurboTax

assuming your daughter is not a surviving widow whose spouse died in the last two years or was not legally wed on 12/31/21 she can claim the following dependents and file as head of household if these tests are met. 

for you, her parent,  assuming you will not file a joint return with your spouse, you must have lived with her for the whole year or she paid more than 1/2 the cost of keeping up your main home. 

for her grandmother, assuming she will not file a joint return with her spouse, and your daughter provided over 1/2 of her support and her gross income was less than $4300. SSDI does not count towards gross income