Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:D
['f2 fe/f/ gfed cdef', 'd2 a2 ag/a/ bagf g2 gf/g/ agfe'  
X:1
L:1/8
M:4/4
K:D
 f2 fe/f/ | gfed | cdef | dAFA | f2 fe/f/ | gfed | cdef d2 d2 || a2 ag/a/ | bagf | g2 gf/g/ | 
 agfe | f2 fe/f/ | gfed | cdef | d2 d2 ||  