Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:6/8
K:D
['', 'B2 A ABE', 'e fdd def g2 e efg fed'  
X:1
L:1/8
M:6/8
K:D
 d2 B |: ADD DFA | Add B2 A | ABE D2 D | GFG EFG | ADD DFA | ADD B2 A | ABE F2 E |1 EDD d2 B :|2 
 EDD D2 d |: fdd ede | fdd d2 e | fdd def | g2 e efg | fed B2 A | AdF G2 A | ABE F2 E |1 
 EFF F2 d :|2 EDD D3 ||  