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
['d2 fd AdFA DFAd fagf']  
X:1
L:1/8
M:4/4
K:D
|: A,2 |"D" D2 FD A,DFA | dcBA ^GAFD |"Em" E2 GE B,EGB |"A7" gecA GECA, |"D" D2 FD A,DFA | 
 dDcD BDAf |"Em" gefd ecdB |1"A7" AFGE"D" D2 :|2"A7" AFGE"D" DABc |]:"D" d2 fd AdFA | DFAd fagf | 
"Em" e2 ge BeGB |"A7" CEAc egfe |"D" d2 fd AdFA | DFAd fagf |"Em" gefd ecdB |1"A7" AFGE"D" DABc :|2 
"A7" AFGE"D" D2 |]  