Develop musical compositions in line with the specified format and incorporating the provided musical theme.
X:1
L:1/8
M:6/8
K:D
['f fff g2 g agf efg adg', 'a afa a2 a'  
X:1
L:1/8
M:6/8
K:D
 f | fff g2 g | agf efg | adg f2 e | d3 d2 :| a | afa a2 a | afa a2 a | b2 a g2 f | f3 e2!D.C.! ||  