Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['d2 d', 'aba f2 d'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 d2 d dcd | B2 G FGA | d2 d d3 | fda f2 d | d2 d dcd | B2 G FGA | d2 d d2 g | e2 a f2 d :: 
 aba f2 d | AFd AFd | aba f2 d | BGd BGd | aba f2 d | B2 G F2 A | B2 d e2 c | d3- d3 :|  