Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
Q:3/8=120
M:12/8
K:D
['B3 B2 A', 'f2 d'  
X:1
L:1/8
Q:3/8=120
M:12/8
K:D
|: A3 A2 F B3 B2 A | Bcd cBA B3 B2 A | ded f2 d cBA B2 B | AGF EDC D3 D3 :: def f2 d efg g2 e | 
 fga agf efd cBA | def fed efg gfe | fga agf{f} e3 e2 d/e/ | f2 d e2 c d2 B c2 A | dcB AGF E3 E3 | 
 B3 B2 A d3 d2 B | AGF EDC D3 D3 :|  