A girl in a yellow hat is swimming with a boy.
A girl in yellow swims with her brother.
The boy may or may not be her brother and just because she has a yellow hat doesn't mean she is all in yellow.
(-x)
(-x)