The dog wants to go outside with the cat
A cat sitting at a sliding glass door.
A dog looking at a cat through a glass window.
A cat sitting outside of a door next to a dog.
A cat is outside looking through in at a dog.