Develop a musical piece employing the provided motif and an alphabet-based structure.
X:1
L:1/8
M:4/4
K:D
['A |1', 'edef gfeg f2 d2 :|2 ABcd edeg']  
X:1
L:1/8
M:4/4
K:D
 fgfe dAdf | agfg e3 A |1 ABcd edef | gfeg f2 d2 :|2 ABcd edeg | fedc d3 g |: f2 a2 d2 cd | 
 edcB A3 A |1 ABcd edef | gfeg f2 d2 :|2 ABcd edeg | fedc d2 z2 |]  