Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['d2 Bd', 'dg g2 ea a2 bgef'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 ge | d2 Bd efge | dcBG AEEB | d2 Bd eggb | agef g2 ge | dcBd efge | dcBG AEEB | d2 Bd eggb | 
 agef g2 ge || dg g2 ea a2 | bgef gedB | dg g2 ea a2 | bgef g2 ge | dg g2 ea a2 | bgef gedB | 
 G2 BA Bcdg | egfa !fermata!g4 |]  