Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
Q:3/8=90
M:6/8
K:D
['d3 a2 g (f/g/a)!wedge!f ecA (B/c/d)!wedge!B', 'BdB AFA', 'D3 faf gbg ege faf BdB c2'  
X:1
L:1/8
Q:3/8=90
M:6/8
K:D
 d3 a2 g | (f/g/a)!wedge!f ecA | (B/c/d)!wedge!B AFD | E3 A,3 | d3 a2 g | (f/g/a)!wedge!f ecA | 
 (B/c/d)!wedge!B edc | d3 D3 :: BdB AFA | BdB AFA | (B/c/d)!wedge!B c2 d | e3 E3 | FAd AFD | 
 BdB AFA | dgf edc | d3 D3 :: faf gbg | ege faf | BdB c2 d | e3 E3 | DFA dfa | bag fed | 
 (B/c/d)B edc | d3 D3 :|  