Build a musical work using the provided motif and following the indicated form.
X:1
L:1/8
M:4/4
K:G
['d>g (3fga g2 B2 d2 d>B c>BA>B', 'B>gg>f g>dB>G F>GA>B'  
X:1
L:1/8
M:4/4
K:G
|: (3DEF | G>AB>c d>g (3fga | g2 B2 d2 d>B | c>BA>B c2 c>A | B>AG>A B>cB>A | G>A (3Bcd d>g (3fga | 
 g2 B2 d2 d>B | c>BA>B c>AF>G |1 A>GG>F G2 :|2 A2 G2 G>A |: B>c | d2 b2 c2 a2 | B>gg>f g>dB>G | 
 F>GA>B c>AF>A | G/A/G/F/ G>A B>AB>c | d2 b>B c2 a>A | B>gg>f g>dB>G | F>GA>B c>AF>G |1 
 (3ABA G2 GA :|2 (3AAA G2 G2 ||  