Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:3/4
K:D
['A2 (A3 d) dc c4 G2 (G3', 'e2 d2'  
X:1
L:1/8
M:3/4
K:D
|: A2 (A3 d) | dc c4 | G2 (G3 B) | (BA) A4 | F2 (B3 A) | (A^G) =G4 | G2 (F3 E) | B2 A4 :: 
 f2 e2 d2 | cB e4 | e2 d2 B2 | ^GA d4 | (fd)(dA)(AF) | (Ge) e4 | e2 B2 c2 | e2 d4 :|  