Here's why:
* Direct objects are the nouns or pronouns that receive the action of the verb.
* In this sentence, the verb is "gave".
* The salesman is the one giving, and Marci is the indirect object (she receives the demo), but the thing actually being given is "a demo".