Build a musical work using the provided motif and following the indicated form.
X:1
L:1/8
M:2/4
K:D
['AFED G2 GB', 'D A defd gfef defd ecBA defd'  
X:1
L:1/8
M:2/4
K:D
 B | AFED | G2 GB | AFED | E2 EB | AFED | G2 GB | AF dF | D2 D :: A | defd | gfef | defd | ecBA | 
 defd | gfeg | (f/g/a) Ac | d2 d :|  