Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['FA dB', 'f2 df e2', 'FA dB'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
 A3 G FA dB | AG FD EA, (3(A,B,A,) | AB AG FA dB | AB ca fd d2 | A3 G FA dB | 
 AG FD EA, (3(A,B,A,) | AB AG FA dB | AB ca fd d2 |: f2 df e2 df | af eg fB Bg | f2 df e2 dA | 
 (3(Bcd) AG FD Dg | f2 df e2 df | af eg fB B2 | AF AB de ba | (3(fga) eg fd dB :| A3 G FA dB | 
 AG FD EA, (3(A,B,A,) | AB AG FA dB | AB ca fd d2 | A3 G FA dB | AG FD EA, (3(A,B,A,) | 
 AB AG FA dB | AB ca fd d2 ||  