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 D>E FD FA d2 d>c dA']  
X:1
L:1/8
M:4/4
K:D
 D2 D>E FD FA | d2 d>c dA FD | G2 B>G FA FD |1 E2 A>B AG FE :|2 E2 D>C D2 c>d | e2 e>e ec A2 | 
 d2 f>e dB A2 | d2 d>d c2 d>c | Bd cB AG FE | D2 D>E FD FA | d2 d>c dA FD | G2 B>G FA FD | 
 E2 D>C D4 |]  