Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/8
M:4/4
K:G
['(3def g>dB>A G>Bd>g e>dc>d e2 f>e d>gf>e', '(3BdB G2 B4 c2'  
X:1
L:1/8
M:4/4
K:G
|: (3def | g>dB>A G>Bd>g | e>dc>d e2 f>e | d>gf>e d>B (3cBA | G>Bd>e d2 (3def | g>dB>A G>Bd>g | 
 e>dc>d e2 f>e | d>gf>e d>B (3cBA | G2 B2 G2 :: z2 | (3BdB G2 B4 | c2 A>Bc>d e>f | g2 f>e d>BG>d | 
 e2 d>B A4 | (3BdB G2 B4 | c2 A>B c>de>f | g2 f>ed>B (3GAB | A2 F2 G2 :|  