Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:G
['G>AB>G A>GE>D', 'd>BG>B A>GE>D'  
X:1
L:1/8
M:4/4
K:G
 D2 | G>AB>G A>GE>D | c2 c>A B>GE>D | G>AB>G A>GE>D | E>AA>G A>cB>A | G>AB>G A>GE>D | 
 c2 c>d e>fg>e | d>BG>B A>GE>D | E>GG>F G2 :: (3DEF | G2 G>B d2 d2 | (3efg f>d (3efe d2 | 
 (3efe e>d (3gag g>d | e>dB>c d>BG>B | c2 c>B c>e g2 | B2 B>A B>cd>B | A3 B A>GE>D | 
 g>fg>b a>gf>e | d>BG>B A>GE>D | c>Bc>d e>f (3gfe | d>BG>B A>GE>D | E>GG>F G2 :|  