Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:G
['G2 GF GABG AGEF GABc d2 Bd', 'dBAB c3 A B3 G A2 AB'  
X:1
L:1/8
M:4/4
K:G
 G2 GF GABG | AGEF GABc | d2 Bd g3 d | edBe dBAB | G2 GF GABG | AGEF GABc | d2 Bd GdBG |1 
 A(G{A}G)F G2 c/B/A :|2 A(G{A}G)F GABd || e3 g edBc | d2 de dBAB | c3 A B3 G | A2 AB AGEF | 
 G2 GF GABG | AGEF GABc | d2 Bd gdBG |1 A(G{A}G)F GABd :|2 A(G{A}G)F G4 ||  