In a certain city, 60% of the households own a pet, and 30% of the households that own a pet have a cat. Additionally, it is known that 20% of all households have both a cat and a dog. What is the probability that a household has a dog given that it owns a pet?