Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['A |]:', 'DFA ded cBA dcd efg', 'fdd d2'  
X:1
L:1/8
M:6/8
K:D
 A |]: dAF DFA | ded cBA | dcd efg | fdf ecA | dAF DFA | ded cBA | dcd efg |1 fdd d2 A :|2 
 fdd d2 e |: fdf fga | ecA ABc | dcd Bed | cAA AB=c | BGB Bcd | AFD DFA | dcd efg |1 fdd d2 g :|2 
 fdd d2 A |]  