Craft a musical work based on the specified structure and given theme.
X:1
L:1/8
M:4/4
K:A
['AB c2 ecB A2 B', 'fg agab a2 gf ecAB c2 Bc'  
X:1
L:1/8
M:4/4
K:A
 AB | c2 ecB A2 B | cfec A2 Bc | d2 defd BA | GBBc B2 AB | c2 ecB A2 B | ceec A2 Bc | d2 defd BG | 
 A2 A2 A2 :| fg | agab a2 gf | ecAB c2 Bc | d2 defd BA | GBBc B2 fg | agab a2 gf | ecAB c2 Bc | 
 d2 defd BG | A2 A2 A2 :|  