Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['F2 A2 A2']  
X:1
L:1/8
M:4/4
K:D
 F2 A2 A2 Bc | d>cde d2 AG | F2 A2 A2 ef | g>fed B2 AG | F2 A2 A2 Bc | d>cde f3 g | a2 d2 B2 g2 |1 
 f2 e2 dcBA :|  