Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:G
['G2 (3Bcd', '(3Bcd ef'  
X:1
L:1/8
M:4/4
K:G
 DG | G2 BG AGBG | G2 (3Bcd g2 g2 | fAAG FG A2 | BcAF GFED | G2 BG AGBG | G2 (3Bcd g2 fg | 
 egAG FG A2 |1 BcAF G2 :|2 BcAF G2 G2 || (3Bcd ef gfed | (3Bcd ef g2 g2 | (3Bcd ef g2 dg | 
 egdc BG G2 | (3Bcd ed gfed | Bdef g2 ga | bgag gfed |1 (3Bcd ef gfed :|2 (3Bcd ef gedB ||  