A girl in a black hat wears a bikini at the beach.
There is a girl at the beach wearing a bikini and a black hat.
A girl at the beach wearing a bikini and black hat is just the first sentence re-arranged
(-x)
(-x)