Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
['B c d', "d c' a f"  
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
"^And.o" d | d3 c | (c B) z B | c d e c | (B3/2 c/4B/4) A z | d2 c A | G3 A | B c d e | A3 |] A | 
 d2 a3/2 f/ | g3 d | d c' a f | a2{bc'} g d | g2 d B | A g/g/ (g/e/)c/A/ | G3 A | c3{dc} B | 
 d c' a f | (f/g/)d/B/ (g/e/)c/A/ | G2 B3/2 A/ | G3 |]  