Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['f/g/a/f/ dg', 'd/c/B/A/ GB'  
X:1
L:1/8
M:4/4
K:G
 g2 | f/g/a/f/ dg fddf | f/g/a/f/ df geeg | f/g/a/f/ dg f/g/a/f/ df | geaf geeg :: 
 d/c/B/A/ GB geec | d/c/B/A/ GB cAAc | d/c/B/A/ GB geef | geaf gee :|  