Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:4/4
K:D
['FAA^G AFDE FAA^G A3 B', 'F2 A2 B2 A2 dF eF fF']  
X:1
L:1/8
M:4/4
K:D
|: DE | FAA^G AFDE | FAA^G A3 B | GBBG BGDG | Bcdc B2 AG | FAA^G AFDE | FAA^G A3 B | G3 A Bcdc | 
 AFEF D2 :: A2 | F2 A2 B2 A2 | dF eF fF eF | G2 B2 e2 d2 | eEdE cEAE | F2 A2 B2 A2 | dF eF fF eF | 
 GFGA BcdB | AFEF D2 :|  