I knew that I did well on the test.
"knew" and "did" are in the same tense, making them simultaneous events.
Answer: B. creating a plan
If Sir Gawaine were devising a scheme to rescue his brothers, he would be creating a plan. To "devise" means to create or elaborate something, while a "scheme" refers to a plan of action, or a plot. The word is often used in reference to a plan that is secret, or dishonest.
I want to say The answer is B
I could be totally wrong.