Change the normal sentence into one with inversion. You may have to change some of the words.
ANSWERS + EXPLANATION
Answers
In the following expressions, the inversion comes in the second part of the sentence: only after, only when, only if, only once, not since, not till/until, only by/in/with + gerund
ONLY WHEN/IF/AFTER/ONCE ... + AUX + SUBJECT + VERB ... Only when we had left, did the child burst into tears. NOT UNTIL/NOT SINCE ... + AUX + SUBJECT + VERB ... Not until much later did she find out the truth. ONLY/BY/IN/WITH + GERUND ... + AUX + SUBJECT + VERB ... Only by standing on a chair could he reach the shelf.
1) Sarah got home did she realise/she got home did Sarah realise 2) the match has finished can you 3) offering her a bribe were they 4) he takes this medicine will he 5) I was young have I had