Compose a piece of music using the provided motif and follow the designated alphabet character structure.
X:1
L:1/8
M:4/4
K:Dmin
['AAAD EGAB cdAG FED^C Dd^cd e{a}fed c2', 'z2 EDCA, CDEG AAAG EGED Ce=Bc Ad^cd']  
X:1
L:1/8
M:4/4
K:Dmin
"^Apirited" AAAD EGAB | cdAG FED^C | Dd^cd e{a}fed | c2 =B2 A2 ^cd | efed cA^GA | B^cdA GEDE | 
 D2 D/E/F C2 Ec | AG{F}E>D D2 z2 || EDCA, CDEG | AAAG EGED | Ce=Bc Ad^cd | c=B^cd e2 cd | 
 efed cBcA | EEED C=B,CA, | DDDE FGAB | AGFE D2 z2 ||  