So sorry to hear
I hope that your cat won't go through too much pain. I know it's terribly sad to lose loved ones, be it pets or family members, especially through a terminal illness.
Just last Saturday we had to put our dog to sleep because he had cancer, and he was only 10 years old. It was heartbreaking but there was no other choice.
Hopefully your cat will live longer though.
*hug*