Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Gmin
['D<GB>c d<GB<G F<fA>B{AB}', 'g>fd<f g>^fg<b'  
X:1
L:1/8
M:4/4
K:Gmin
 F | D<GB>c d<GB<G | F<fA>B{AB} c>BA<F | D<GB>c dGBG | Ff d/c/B/A/ BGGF | D<GB>c d<GB<G | 
 F<fA>B{AB} c>BAF | G<BA<c B<dg<d | fc d/c/B/A/ BGG || f | g>fd<f g>^fg<b | =f<dc>d f>g{fg}a<f | 
 g>fd<f g>^fg<b | fc d/c/B/A/ BGGf | g>fd<f g>^fg<b | =f<dc>d f>ga<f | g<bf<g d<fc<f | 
 AF d/c/B/A/ BGG |]  