Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['G2 g2 edeg', 'GGBG dBde'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 BA | G2 g2 edeg | B2 BA B2 BA | G2 g2 edeg | A2 AG A2 AB | G2 g2 edeg | B2 BA B2 Bd | 
 edef e2 (3def | gedB A2 :| AB | GGBG dBde | B2 BA B2 BA | GGBG dBde | A2 AG A2 AB | GGBG dBde | 
 B2 BA B2 Bd | edef e2 (3def |1 g2 dB A2 :|2"^final" g2 dB A2 BA | G4 z4 |]  