Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/4
Q:1/4=180
M:4/4
K:G
['B A', 'B A'  
X:1
L:1/4
Q:1/4=180
M:4/4
K:G
 B c | d3/2 e/ d B | A G G2 | E G G F | E D D2 | d/c/B/d/ c A | B/A/G/B/ A D | E/F/ G B A |1 G2 :|2 
 G3 G |: E G G3/2 E/ | D B B2 | E G G3/2 A/ | B A A2 | d/c/B/d/ c A | B/A/G/B/ A D | E/F/ G B A |1 
 G3 G :|2 G2 |]  