The most appropriate response to how an author might vary syntax in their writing is:
By using a variety of sentence lengths and structures.
This option specifically addresses changes in sentence construction, which is a key component of syntax variation.