Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:2/2
K:G
['eA (3.A.A.A', 'BGBd g2 (ag) e^def g=dBd e^def g2', 'gdBd e^def g2 (ag) e^def g=dBd gdBd'  
X:1
L:1/8
M:2/2
K:G
|: egfd eA (3.A.A.A | (ed)Bd eA (3.A.A.A | (eg)fd eA (3.A.A.A | (BG)dc BGBd :| 
 !fermata!e^def g2 (ag) | e^def g=dBd | e^def g2 (ga) | bgaf gdBd || e^def g2 (ag) | e^def g=dBd | 
 gdBd g2 (ga) | bc'ba gfe"_D.C."^d |]  