Create a melody using the given alphabetic notations and the provided motif.
X:1
L:1/8
M:4/4
K:D
['A2 AB AF F2 AFAd f3 g', 'd2 e2 f2 ed BA A2 dcdf']  
X:1
L:1/8
M:4/4
K:D
|: B2 | A2 AB AF F2 | AFAd f3 g | afef dBAB | dBAF EFDE | A2 AB AF F2 | AFAd f3 g | afef dBAF | 
 Adfe d2 :: e2 | f2 ed BA A2 | dcdf a2 ^ga | g2 fg edBc | dBAF EFDE | A2 AB AF F2 | AFAd f3 g | 
 afef dBAF | Adfe d2 :|  