A girl wearing a yellow hat is lying down on a blue floor, and there is another child sitting in a chair next to her.
The girl has something on her head.
The hat is something. Wearing a yellow hat implies the hat is on her head.
(-x)
(-x)