Answer: B) Direct object.
Step-by-step explanation: A noun clause is a group of words acting together as a noun (subject, direct object, indirect object, etc). These clauses are always dependent clauses (they don't have complete meaning on their own). In the given sentence we can see an example of a noun clause in the phrase "what I was looking for" this clause is acting as a direct object because it is anwsering the question "what did I find?"