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
['dcd AFA', 'D3 d3 ada gfg a3 dcd ada', 'A3 dcd efd ABG FED d3 afd'  
X:1
L:1/8
M:6/8
K:D
 d3 faf | gec Ace | dcd AFA | =cB=c EFG | ded f3 | gec ABc | dcd AFA | GEA D3 :| d3 ada | gfg a3 | 
 dcd ada | gef gec | def ecA | GAB AFG | Adf ecA |1 GEA D3 :|2 GEA D2 D || (4:3:4DEFG A2 B | 
 =cAG A3 | dcd efd | ABG FED | d3 afd | Bef gag | f3 ecA |1 GEA D2 A :|2 GEA D3 ||  