Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/8=160
M:2/2
K:D
['B AF F/F/F{F}', 'efdB AF F/F/F dF F/F/F'  
X:1
L:1/8
Q:1/8=160
M:2/2
K:D
 B |:"D" AF F/F/F{F} A2 AB | defd"G" efdB |"D" AF F/F/F dF F/F/F |"G" (B/c/d)"A" AF EFGB | 
"D" AF F/F/F{F} A2 AB | defd"G" efdB |"D" AF F/F/F dF F/F/F |"A" EDEF"D" D2 :: fg | 
"D" abaf"A" gfec |"D" defd"G" efdB |"D" AF F/F/F dF F/F/F |1"G" (B/c/d)"A" AF E2 fg | 
"D" abaf"A" gfec |"D" defd"G" efdB |"D" AF F/F/F dF F/F/F |"A" EDEF"D" D2 :|2 
"G" (B/c/d)"A" AF EFGB |"D" AF F/F/F{F} A2 AB | defd"G" efdB |"D" AF F/F/F dF F/F/F | 
"A" EDEF"D" D2 |]  