Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:2/4
K:D
['', 'FEDd (3Bcd AF GBAF', '(3FED AD BDAD'  
X:1
L:1/8
M:2/4
K:D
 AG |: FEDd (3Bcd AF | GBAF E2 EG | FEDd (3Bcd AF | GBAF D2 DG | FEDd (3Bcd AF | GBAF E2 EG | 
 FABc dcec | dBAG FDDG :: (3FED AD BDAD | (3FED AF E2 EG | (3FED AD BDAD | GBAG FDDG | 
 (3FED AD BDAD | GBAF E2 EG | FABc dcec | dBAF D2 AG :|  