Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:G
['DG EG/E/ DG', 'dB gB'  
X:1
L:1/8
M:2/4
K:G
|: DG EG/E/ | DG EG | DG AG/A/ | BA A>B | DG EG/E/ | DG E/D/E/G/ | DG AB/c/ |1 BG G2 :|2 BG G>B |: 
 dB gB | dB gB | dB gB | c/B/A A>B | dB gB |1 dB gB | G2 A>c | BG G>B :|2 dB g2 | G2 A>c | BG G2 ||  