Compose music that adheres to the given form and integrates the specified musical motif.
X:1
L:1/8
M:4/4
K:G
['A B<Gd>G B<GG>A B<Gd>B c/B/A/G/ =F>A B<Gd>G', 'd>gB>d c/B/A/G/'  
X:1
L:1/8
M:4/4
K:G
 A | B<Gd>G B<GG>A | B<Gd>B c/B/A/G/ =F>A | B<Gd>G B>cd<g | =f>dc>A B<GG :| f | g>be<g d>gB>g | 
 d>gB>d c/B/A/G/ =F>^f | g>be<g d>gB>d | c/B/A/G/ =F>A B<GG^f | g>be<g d>g (3Bgg | 
 d>gB>d c/B/A/G/ =F>A | B<Gd>G B>cd<g | =f>dc>A B<GG ||  