Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/4
Q:1/2=100
M:2/2
K:G
['d g', 'd d a d d/e/f/g/ a c'  
X:1
L:1/4
Q:1/2=100
M:2/2
K:G
 d | g G G/A/B/c/ | d G G d | g G G/A/B/c/ | A D D d | g G G/A/B/c/ | d g g a/g/ | 
 f/g/a/f/ e/f/g/e/ | f d d |: d | a d d/e/f/g/ | a c c B/A/ | B d e/d/c/B/ | A D D d | 
 g G G/A/B/c/ | d b c a | B g A/B/c/A/ | B G G"^*" :|  