Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
Q:1/8=80
M:2/4
K:G
['BB G2 B2 B/d/c/B/ B2 E>F GF', 'B/c/ dd/B/ GB/G/'  
X:1
L:1/8
Q:1/8=80
M:2/4
K:G
"G" BB G2 | B2 B/d/c/B/ |"D" AA"G" B2 | BG"Em" E>F |"C" GF ED | E4"^(4x)" :|"G" dd/B/ GB/G/ | 
"D" FA/F/"G" G>F | GA B/ z/ B/c/ | dd/B/ GB/G/ |"D" FA/F/"Em" GF | E3 B/c/ |"G" dd/B/ GB/G/ | 
"D" FA/F/"G" G>F | GA B z |"C" E>F GF | ED (E2 | E4) :|  