Someone wearing black shirt and shorts and another wearing gray top and jeans skirts are walking their dogs.
Two people with different colored shirts are walking with their pets.
someone and another are two people. If one has a black shirt and the other a gray top, that is different colored shirts. a top is another word for shirt. dogs are a type of pet.
(-x)
(-x)