Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['A3 B', 'a3 f'  
X:1
L:1/8
M:4/4
K:D
|: A3 B defd | a2 fd edBd | A3 B defe | dBAf EF D2 :: a3 f defd | adfd edBd | a3 f defe | 
 dBAf EF D2 :|  