A black and white dog is trying to catch a Frisbee in the air.
They are sleeping on the sofa.
A black and white dog is singular, and therefore not 'they'. If a dog is trying to catch a Frisbee, he can't be sleeping.
(-x)
(-x)