Develop a musical composition utilizing the presented motif and adhering to the required structure.
X:1
L:1/8
M:4/4
K:G
['(3DEF G>F G>B A>G E>D G>B d>g', 'g>f g>d e>d B>G'  
X:1
L:1/8
M:4/4
K:G
 (3DEF | G>F G>B A>G E>D | G>B d>g e2 (3def | g>f g>d e>d B>G | A>B A>G E2 (3DEF | 
 G>F G>B A>G E>D | G>B d>g e2 (3def | g>f g>d e>d B>G | A>B A>F G2 :| (3def | g>f e>g f>e d>f | 
 e>d e>f e>d B>d | g>f g>d e>d B>G | A>B A>G E2 (3DEF | (3GAG B>G A>G E>D | G>B d>g e2 (3def | 
 g>f g>d e>d B>G | A>A E>F G2 :|  