Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
['BA/B/ dD ED AD BA/B/', 'Bd dB/d/ eB dG BA/B/'  
X:1
L:1/8
Q:1/4=120
M:2/4
K:G
 BA/B/ dD | ED AD | BA/B/ dG | BA A2 | BA/B/ dD | ED AD | BA/B/ dA | BG G2 :| Bd dB/d/ | eB dG | 
 BA/B/ dG | BA A2 | Bd dB/d/ | eB dG | BA/B/ dA | BG G2 :|  