Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
Q:1/4=120
M:2/4
K:D
['dd/c/ dA dfaf gedc', 'gf f2 ed d2', 'd2 f3 a d3 f efge dcBA'  
X:1
L:1/8
Q:1/4=120
M:2/4
K:D
"^Lively dancing time." dd/c/ dA | dfaf | gedc | (d/c/d/e/) dA | dd/c/ dA | dfaf | gedc | d2 d2 :: 
 gf f2 | ed d2 | cdef | (g/a/g/f/) e2 | gf f2 | ed d2 eg (f/e/d/c/) | d2 d2 :: f3 a | d3 f | efge | 
 dcBA | d2 ef | g3 f fedc | d2 d2 :|  