Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['d2 fd']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
|: AD (3(DDD) AD FD | AD FA Bc dB | AD (3(DDD) AD FA | GF EF GA Bd | AD (3(DDD) AD FD | 
 AD FA Bc dB | AD (3(DDD) AD FA | GF EF GA Bc | d2 fd Ad FA | d2 fd cd ec | d2 fd (3(Bcd) AF | 
 GF EF GA Bc | d2 fd Ad FA | d2 fd cd eg | fd ec dB AF | GF EF GA Bd :|  