Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
M:4/4
K:D
['A F3 A dFAd efaf edcd B3', 'fB B2'  
X:1
L:1/8
M:4/4
K:D
|: A | F3 A dFAd | efaf edcd | B3 B Bcde | dBAF EDB,D | FA A2 AFEF | DB,DG Bdgb | afed B2 Aa | 
 afeg fed :: e | fB B2 Bfbf | aA A2 dBcA | fB B2 FB B2 | Aaec B3 c | dFAd efa z | DB,DG Bdgb | 
 afed B3 Aa | afeg fed :|  