Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
M:3/4
K:G
['d B']  
X:1
L:1/4
M:3/4
K:G
 B A3/2 B/ | d A2 | d e d- | d2 B/ z/ | d B d | G A2 | B d A- | A z2 | e d3/2 e/ | B d3/2 e/ | 
 d B e- | e2 d | d B d | G A2 | B/A/ G A- | A2 z | d e2 | B d2 | d e d- | d2 c | B3/2 d/ G | 
 B2- B/c/ | B A/B/ A- | A2 z | d e2 | B d2 | d B e- | e2 d | B d2 | G B3/2 c/ | B/A/ G A- | A3 |]  