Girl graduates in front of her terminally ill mother