狗搖著尾巴跟著主人。

The dog followed its master, wagging its tail.

The dog followed its owner, wagging its tail.

Source: Tatoeba

Sentence Composition