Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:4/4
K:G
['e d<GB>G d>Gc<e d<GB>G (3ABA c>e d<GB>G', 'B<GG f g>dB>g d>gB>g g>dB>g c>gA>f |1'  
X:1
L:1/8
M:4/4
K:G
|: e | d<GB>G d>Gc<e | d<GB>G (3ABA c>e | d<GB>G B<dd>g | e>cA>d B<GG :: f | g>dB>g d>gB>g | 
 g>dB>g c>gA>f |1 g>de>g d>gB>g | e>cA>d B<GG :|2 g>de>g d<bc<a | B<gA<g B<GG ||  