Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:2/4
K:G
['d2 dd B>c dd ed cB A3', 'z d>d dd ef g2 B>B BB'  
X:1
L:1/8
M:2/4
K:G
|: d2 dd | B>c dd | ed cB | A3 B | c>d e/f/g | G>A B/c/d | cB A/G/A/B/ | G3 z :: d>d dd | ef g2 | 
 B>B BB | AB c2 | B>A G/A/B | c>B A/B/c | d>c B/c/d | e>d c/d/B/c/ | AG GF | G3 z :|  