Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
Q:1/8=180
M:2/2
K:A
['a2 ec defg afec', 'c2 cA'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:A
 g | a2 ec defg | afec dBBg | a2 ec defg | afec A2 Ag | a2 ec defg | afec dBBc | Ac (3efg abaf | 
 ecBd cAA || B | c2 cA d2 dB | efec dBBd | c2 cA defg | afed cAAB | c2 cA d2 dB | efec dBBd | 
 Ac (3efg abaf | ecBd cA A2 |]  