That’s exactly how I worked it out. The x refers to the big dogs and the x + 36 refers to the small dogs. The problem is that there are 6.5 big dogs and 42.5 small dogs, and since there are two half dogs, they both must be really small...
Thank God the dog show had no black dogs, or we'd be working out problems using 3/5 of a dog.