Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:2/4
K:G
['z B/B/ A^G AB =G2'  
X:1
L:1/8
M:2/4
K:G
"^A" D |"G" BA G>F |"C" AG F>E |"G" DE"Ddim" DE |"D7" (D2 D)D/D/ | DE FD | (c2 c) D/D/ | DE FD |1 
"G" (B2 B) D :|2"G" G2 z B/B/ |"D7" A^G AB |"G" =G2 z B/B/ |"D7" A^G AB |"G" =G2 z2 |] 
"^B""G" DB BG/B/ |"Gdim" e^c"G" d2 |"D7" Dc c/B/A |"G" DB B/A/G | DB BG/B/ |"Gdim" e^c"G" d2 | 
"D7" Dc c/B/A |1"G" MGMGMG z :|2"G" MGMGMG |]  