Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['DEFA d2 fe', 'g2 bg'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 A, | DF F2 DEFA | d2 fe dB B2 | AF F2 dF F2 | BFAF EGFE | DFAF DEFA | d2 fe dBB/c/B | AF F2 BFAF | 
 G2 EG FDD :| A | df f2 dfaf | g2 bg affe | dBcA Bcde | f2 af e2 de | f2 af g2 bg | fgaf eBBd | 
 AF F2 BGAF |1 G2 EG FDD :|2 G2 EG F2 E2 | D8 ||  