Here's why:
* Direct object: The direct object is what Mr. Mathis gave. In this case, it's "free tickets to movies".
* Indirect object: The indirect object is the recipient of the direct object. Mr. Mathis gave the tickets *to class*.
Let me know if you'd like to practice with more sentences!