Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/4
M:3/4
K:G
['D2 D', 'A C3/2'  
X:1
L:1/4
M:3/4
K:G
 D | B2 A/G/ | D2 D | E2 C/E/ | D2 D | B2 A/G/ | D2 G | F A2 | A2 D | B2 A/G/ | D2 D | E C E | 
 D2 D | E C G | F D A | A3 | G2 || D | G B3/2 D/ | A C3/2 D/ | B D B | G2 G | A C3/2 A/ | D2 D | 
 B D3/2 B/ | A2 D | G B3/2 D/ | A C3/2 D/ | B D B | G2 D | E C G | F D A | A3 | G2 ||  