How long do dogs live if they have cancer