Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
['', 'AFD DFA Bcd B2 A Bcd', 'e fef def gfg e2 a fed'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:D
 F/G/ |: AFD DFA | Bcd B2 A | Bcd AGF | GFG EFG | AFD DFA | Bcd B2 A | Bcd F2 E |1 FDD D2 F/G/ :|2 
 FDD D2 e |: fef dBA | Bdd d2 e | fef def | gfg e2 a | fed B2 d | A2 d F2 A | Bdd F2 E |1 
 FDD D2 e :|2 FDD D2 ||  