Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/4=90
M:4/4
K:Db
['F2 F2 FE FG (A2 d2) (A2']  
X:1
L:1/8
Q:1/4=90
M:4/4
K:Db
"Db" F2 F2 FE FG | (A2 d2) (A2 F2) |"Ab" E2 F2"Ab7" GB AG |"Db" F6 z2 | F2 F2 FE FG | 
 (A2 d2) (A2 F2) |"Ab" E2 F2"Ab7" GB AG |"Db" F4 z2 AA |"Gb" B2 d4 cB |"Db" A2 F4 FF | 
"Ab" E2 B2 A2"Ab7" G2 |"Db" F4 z2 AA |"Gb" B2 d4 cB |"Db" A2 !fermata!d4 DE | F2 A2"Ab7" G3 E | 
"Db" D6 z2 |]  