Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:3/4
K:D
['F>ED B>AF', 'B>AB d>cB'  
X:1
L:1/8
M:3/4
K:D
 F>ED | B>AF | (A3 | A2) D/E/ | F>ED | B>AF | (E3 | E2) D/E/ | F>ED | B>AF | A D E | F<dB | 
 A<DF/G/ | E2- E/D/ | D3- | D3/2 :| B>AB | d>cB | A2 B | A2 F/A/ | B2 A/F/ | A D F/D/ | (E3 | 
 E3/2) A/ d/c/ | B>AB | d>cB | ADE | F<dB | A<DF/G/ | E2- E/D/ | D3- | D3/2 :|  