Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/4
M:3/4
K:G
['d d']  
X:1
L:1/4
M:3/4
K:G
 B | d d d | B B B | e e e | d z d | c c c/c/ | B B/B/B/B/ | A A A | G2 |]  