Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/2=80
M:4/4
K:G
['d>edB d<gdB d>edB', 'G2 gGgG gGdG gGfG eGdG c>dcA B>cBG'  
X:1
L:1/8
Q:1/2=80
M:4/4
K:G
 G2 GB d>edB | d<gdB d>edB | c>dcA B>cBG | E<A A>G F<AAB | G2 G>B d>edB | d<gdB d>edB | 
 c>dB>c A>BAD | E>FG>A BG G2 || gGgG gGdG | gGfG eGdG | c>dcA B>cBG | E<A AG F<AAd | 
 B/A/G gG gG fG | ecGE dBGd | c>dB>c A>BGD | E>FGA BGG z |]  