Your friend has owned a dog for 9 years. This is one year less than twice as long as he has owned the cat. How long has your friend owned a cat?​