Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
['d2 d>c B>d g>a b>b b>a g2']  
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
 d2 d>c | B>d g>a | b>b b>a | g2 z g | e2 e>f | g>f g>e | d>e d>B | d2 z d | d2 d>c | B>d g>a | 
 b>b b>a | g2 z g | a2 a>a | g2 f2 | g4- | g2 z2 ||  