A dependent clause (or subordinate clause) is one that cannot stand alone as a complete sentence because it does not express a complete thought.The shaded clauses could not stand alone as sentences. This is how a dependent clause differs from an independent clause.
In this question,"Who won the pie eating contest" is the dependent clause.