Answer:
A, "Shelly finally completed the last question yawning loudly"
Step-by-step explanation:
The adverb should be before the verb of "yawning". For example, you wouldn't say "she cleans quickly the house", that just sounds wrong. So the messed up sentence is A.