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
['FAA AFA', 'faf g2 e'  
X:1
L:1/8
M:6/8
K:D
 FAA AFA | BdB AFD | | | FAA AFA | BGG AFA | Bcd efe | dzA (3BABA | FAA AFA | BdB AFD | 
 FEE{F} EDE | FDC D2 E | FAA AFA | BdB AFA | Bcd efe | d3 d2 g ||{a} f3 faf | g2 e ede | faf fef | 
 aba |{a} f3 faf | g2 e edB | ABd efe |1 d3 d2 g :|2 d3 d2 A ||  