Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/4
Q:1/4=180
M:3/4
K:G
['e d B g', 'B g'  
X:1
L:1/4
Q:1/4=180
M:3/4
K:G
 B/c/ d e | d B g | e/d/ c/B/ A/G/ | B/c/ d e | d B g | f2 A | B/c/ d e | d B g | e/d/ c/B/ A/G/ | 
 c3/2 d/ e | d B g | e2 A || g G B | g f e | d B G | g G B | g f e | f2 A | g G B | g f e | d g B | 
 c3/2 d/ c/4d/4e/ | d B g | e2 A |]  