Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:2/4
K:G
['Bd de dB B/A/B/c/', 'dg (3gfg fe'  
X:1
L:1/8
M:2/4
K:G
 Bd de | dB B/A/B/c/ | d>B A>B | dB G>A | Bd de | dB B/A/B/c/ | dG BA | AG G2 :| dg (3gfg | 
 fe (3ede | ed (3dcd | ed B2 | dg (3gfg | fe e/f/g/e/ | dB BA | AG G2 :|  