Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:3/4
K:G
['G4 A/B/c B3 AGF EG GB', 'd3 cBG A^F AF DF', 'cB A2', 'g fd'  
X:1
L:1/8
M:3/4
K:G
|: GF | G4 A/B/c | B3 AGF | EG GB AG | Fd FE DF | G4 A/B/c | B3 AGF | EG GB A/G/F | G4 :: 
[K:Gdor] D^F | G3 AB<c | d3 cBG | A^F AF DF | G>A B/c/d g2 | DG GA Bc | d3 cBG | A^F AF DF |1 
 G4 :|2 G3 ||[K:G] ABd |: g6 | d4 cB | A2 a3 g | fd cd ef | g4 b2 | g3 d2 c/B/ | A2 a3 g | 
 fd cA FD | G2 AB G2 | A2 Bc A2 | B2 cd B2 | c2 de c2 | d2 g3 e | f3 g a/g/f | g3 fga |1 g3 dBd :|2 
 g4 ||  