Develop musical compositions that maintain the outlined structure and integrate the provided motif
X:1
L:1/8
M:2/2
K:G
['egfe d2 B2', 'E4 B2 A2 G2 F2 EFGA B2'  
X:1
L:1/8
M:2/2
K:G
 egfe d2 B2 | cBAc B2 A2 | BGAF GEF^D | EFGA B4 | Be^de f2 f2 | e=dcB g2 g2 | agfg a2 a2 | 
 baga b4 | bc'a^d' e'bc'b | abga fgaf | gbad' be'e'b | bc' a2 g3 a | bc'ba gagf | egfe d2 B2 | 
 cBAd eBGB | AGFE E4 || B2 A2 G2 F2 | EFGA B2 B,2 | Be^df egfa | b2 a2 g3 a | b2 b2 BGEG | 
 d'2 d'2 dBGB | a2 a2 AFDF | g2 fe e4 | d2 b2 afge | d2 a2 gfed | BAGB eBGB | AGFE E4 |]  