Develop musical pieces that conform to the specified format and include the suggested musical theme.
X:1
L:1/8
M:3/4
K:D
['d3 e f2 e3 f g2 f2', 'agfg a2'  
X:1
L:1/8
M:3/4
K:D
 d3 e f2 | e3 f g2 | f2 gfed | edcB A2 | dcdefd | edefge | fgagfe | e4 d2 :: agfg a2 | agfg a2 | 
 a2 bagf | e4 A2 | agfg a2 | agfg a2 | a2 bagf | e4 d2 :|  