Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
Q:1/4=100
M:3/4
K:D
['F F']  
X:1
L:1/8
Q:1/4=100
M:3/4
K:D
 A | d2 d (cB) c | d (A2 A) d c | B2 B (FE) D | (F3 F2 F) | F F F F E D | F2 F2 z B | A2 A (GF) E | 
 D4 A A | (B G2) z B B | (A F2) z A A | (G E2) A2 G | F3 z A A | (B G2) z B B | (A F2) z D E | 
 F G F E D E | (D3 D) z |]  