Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['d2 d a2 a gfg f3 egb', 'd3 A2 A cdc efe c2 A'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 d2 d a2 a | gfg f3 | egb afd | Bed cBA | d2 d a2 a | gfg f3 | egb afd | gec d3 :: A2 A cdc | 
 efe c2 A | d2 d fgf | aba f2 d | g2 b bag | f2 a agf | eba gfe | (d3 d3) :|  