You can find Motif demos in /usr/dt/examples/motif. These demos do not include any of the Common Desktop Environment Motif enhancements or widgets.
For more information on Motif, consult the Motif books listed in "Related Books". For more information on the enhancements to Motif 2.1, see the relevant man pages.