Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:4/4
K:D
['D>FA>d f>ed>A c>BB>^A B4 (3(cec) A2 (3(cec)', 'd4 (3(ABA) F2 (3(ABA) F>d c>BB>^A B4'  
X:1
L:1/8
M:4/4
K:D
 D>FA>d f>ed>A | c>BB>^A B4 | (3(cec) A2 (3(cec) A>f | f>dd>c d4 || | (3(ABA) F2 (3(ABA) F>d | 
 c>BB>^A B4 | (3(cec) A2 (3(cec) A>f | f>dd>c d4 |]  