Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
['A2 dfdA FdAF', 'D2 d2 cAec Acec dAfd Adfa gefd'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:D
 A2 | dfdA FdAF | DBAD [A,A]2 BA | GBEG FADF | E^DEF E2 A2 | dfdA FdAF | DAFD [A,A]2 BA | 
 GeBG FdAF | EAFE D2 :| d2 | cAec Acec | dAfd Adfa | gefd ecdB | A^GAB A=GFE | DFAF dAfA | 
 EAcA ecgf | e2 dB A2 GE | D2 F2 D2 :|  