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
['d d2 c/B/ B A D G2']  
X:1
L:1/4
M:3/4
K:G
 d |"G" d2 c/B/ |"G7" B A D |"C" G2 F/E/ |"G" D G B |"C" c2 d/e/ |"G" d B G |1"A7" G F G | 
"D7" A2 :|2"D7" c A F |"G" G2 |]  