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