A man with a boogie board is on a brown sand beach beside a blue flag, along with several people in the background.
Several people on the beach one is a man with a boogie board next to a flag.
A man along with several people in the background means there are several people on the beach as part of the description of the man wiht a bongie board beside or next to (blue) flag.
(-x)
(-x)