Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
Q:1/8=80
M:2/4
K:G
['G/A/ d3 g c3 d (3BBB G>c', 'G3 G'  
X:1
L:1/8
Q:1/8=80
M:2/4
K:G
"^andante" G/A/ | d3 g | c3 d | (3BBB G>c | E3 D | E3 F | G3 G | G4- | G3 || G | B3 c | d e2 f | 
 g2 e>f | d3 e | f3 A | B3 c | d4- | d3 B/c/ | d =f2 c | d2 B>B | (3c2 B2 G2 | E3 D | E3 F | G3 G | 
 G4- | G3 |]  