Design music compositions that follow the indicated structure and blend the presented motif
X:1
L:1/4
Q:1/4=120
M:3/4
K:G
['B d G A G E', 'd B'  
X:1
L:1/4
Q:1/4=120
M:3/4
K:G
"^gaily" d/c/ | B d G | A G E | D/ G3/2 B | c e e | d B G | A2 d/>c/ | B d G | A G E | D G3/2 e/ | 
 d g B | A E F | G2 ||"^part B" d | d B B | c A G | F A3/2 B/ | c e e | d B G | A A d | d B B | 
 c A G | F A3/2 A/ | B B3/2 B/ | c A F | G3 |]  