Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/4
K:G
['d2 d>B G>B', 'c2 c>d e>c'  
X:1
L:1/8
M:3/4
K:G
|: d2 d>B G>B | d2 d>B G>B | c2 c>d e>c | d2 d>B G>B | c2 c>d e>c | B2 B>c d>B | A2 A>B c>d |1 
 d>e d>c B>c :|2 e>d c>d e>f |: g2 g>a b>g | a2 f2 d2 | e2 e>f g>e | d2 c2 B2 | c2 c>d e>c | 
 B2 B>c d>B |1 c2 c>d e>c | d2 e2 f2 :|2 A2 A>B c>d | d>e d>c B>c ||  