Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
M:4/4
K:C
['(de) fBde', 'eBde f^gaf eAce fBdB fBde fBdB eAce', 'aB^gB fB^gB'  
X:1
L:1/8
M:4/4
K:C
 |[M:2/2][K:D] (3Tf2 (de) fBde | Tf2 (df) eAce |{g} f2 (de) fBde | fgaf eAce | f2 (de) fBde | 
 Tf2 (df) eAce |{g} f2 (de) fBde | fgaf eAce || fBdB fBde | fBdB eAce | fBdB eBde | f^gaf eAce | 
 fBdB fBde | fBdB eAce | dcBc defg | abaf eAce || fBbB fBde | fBbB aAce | fBbB aB^gB | 
 fB^gB aAce :|  