Craft a music piece according to the prescribed structure and the input theme.
X:1
L:1/8
M:4/4
K:D
['A2 GE FAdf', 'd2 ad', 'd2 ad'  
X:1
L:1/8
M:4/4
K:D
 A3 G FAdA | FAde f e3 | A2 GE FAdf | afeg f d3 | dfaf g2 ab | afdf ecdB | A2 GE FAdf |1 
 afeg fedB :|2 afeg fede || fgaf d3 e | fbaf ecdB | A2 GE FAdf | afde f e3 | f a3 bfaf | 
 dfaf ecdB | A2 GE FAdf |1 afeg fdde :|2 afeg effe || d2 ad bdad | d2 ad efaf | d2 ad bdad | 
 ABde faec | d2 ad bdad | d2 ad deef | g3 e fbaf |1 e2 de fedc :|2 e2 de fedB ||  