Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
M:9/4
K:G
['G2 G B/c/ d', 'd g'  
X:1
L:1/4
M:9/4
K:G
 D | G2 c B G B A F A | G2 G B/c/ d B g2 f | g3/2 f/ e d c B A F D | G2 G B/c/ d B G2 |] d | 
 g d g g d g g d f | g d g g d g a2 f | g3/2 f/ e d c B A F D | G2 G B/c/ d B G2 |]  