Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/4
M:3/4
K:D
['a f']  
X:1
L:1/4
M:3/4
K:D
 d | d f g | a3/2 b/ a | a f d | d d e | f a f | f a f | e2 e | d e f | f e d | g a b | b2 b | 
 a f d | d e f | g2 e | g2 b | a f d | f a A | d2 ||  