Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:9/8
K:Dmix
['A2 F', 'd>ef f>ef'  
X:1
L:1/8
M:9/8
K:Dmix
 D2 d A2 F A2 F | D2 d A2 F GFE | D2 d A2 F GAB | c6 GEC GEC :: d>ef f>ef f>ef | d>ef f>ga e^cA | 
 d>ef f>ef f>ed | e3 E2 F GFE :|  