Create musical pieces by following the given structure and incorporating the supplied motif.
X:1
L:1/8
M:2/2
K:G
['', 'D2S G2 (G>B) dBGB dBeB dBAB G2', '(fa) g2 (eg) (fd) B2 b2 gb', 'dega bgaf gfed (3(efg) dB'  
X:1
L:1/8
M:2/2
K:G
 D2S |: G2 (G>B) dBGB | dBeB dBAB | G2 (GB) |1 d2 (Bd) | (3(efg) (dB)AcBA :|2 dBGB | 
 (3(efg) dB A2 |] (ga) | b2 (gb) a2 (fa) | g2 (eg) (fd) B2 | b2 gb a2 fa | gfef d2 (ga) || 
 bagb agfa | gfeg dega | bgaf gfed | (3(efg) dB AcBSA |]  