Compose music with the following musical form, using the given motif as a basis.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['G>FA>G B>Ac>B d>ce>d c>BA>G E>GF>A G>BA>c', '(3(def) g2 (3(bag) f>ge>f d>ec>d B>cA>B G>DB,>D'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Hornpipe." (3(uDEF) | G>FA>G B>Ac>B | d>ce>d c>BA>G | E>GF>A G>BA>c | (3(BAG) c>B A2 (3(DEF) | 
 G>FA>G B>Ac>B | d>ce>d c>BA>G | E>GF>A G>BA>c | B>GA>F G2 :: (3(def) | g2 (3(bag) f>ge>f | 
 d>ec>d B>cA>B | G>DB,>D G>BA>c | (3(BAG) c>B A2 (3(def) | g2 (3(bag) f>ge>f | d>ec>d B>cA>B | 
 G>DB,>D G>BA>c | B>GA>F G2 :|  