Inversion is commonly used in asking questions. As its name suggests, we are simply required to invert the order subject +verb. Thus the common word order subject +verb is inverted to verb +subject and joined by a hyphen.
As-tu une voiture ?
Do you have a car?
Verb + subject + the rest of the sentence?
As-tu une voiture ?
Do you have a car?