Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:4/4
K:D
['A2 d2 dc B2 B2 ABAG F2', 'FA d2', 'A G2 GF E2'  
X:1
L:1/8
M:4/4
K:D
 A2 | d2 dc B2 B2 | ABAG F2 FA | G2 GF E2 C2 | D6 de |: f2 d2 g2 f2 | e3 c A2 FA | d2 d2 efec |1 
 d6 de :|2 d6 FA || d2 dc B2 B2 | ABAG F3 A | G2 GF E2 C2 | !fermata!D4 ||  