Compose melodies using the given motif and follow the designated arrangement.
X:1
L:1/8
M:4/4
K:D
['d>B A>G A<B']  
X:1
L:1/8
M:4/4
K:D
|: d2 d>B A>G A<B | B<d d>B AG E2 | B<d d>B A>G A<B | D>E G>A G<E D2 :|  