Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:4/4
K:D
['ed cAAA cded cAAG FDDd cAAA cdeg']  
X:1
L:1/8
M:4/4
K:D
 ed | cAAA cded | cAAG FDDd | cAAA cdeg | fdec d2 ed | cAAA cded | cAAG FDDd | cAAA cdeg | 
 fdec d3 A | dfaf g3 e | fded cAAA | dfaf gbag | fdec d3 f | a3 f g3 e | dfed cAAA | 
 dfaf gbag fdec d2 ||  