Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/4
M:4/4
K:G
['E G']  
X:1
L:1/4
M:4/4
K:G
 D F E G | F/ F/ F/ A/ D3/2 D/ | D F E G | F A D2 | D F E G | F A D2 | B D E G | F E D2 | D F E G | 
 F/ F/ A D2 | D F E G | F2 D2 | D F E G | F A D3/2 D/ | B D E G | (F E) D2 |]  