Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
M:2/2
K:D
['d2 fA d2', 'dB B2'  
X:1
L:1/8
M:2/2
K:D
 d2 fA d2 fA | d2 fe dB B2 | dBAF AB (3def | afef dBAB | d2 fA d2 fA | d2 fe dB B2 | dBAF A2 AB | 
 AFEG FD D2 :: fa a2 afdf | gfed (3Bcd ef | g2 gf gbag | f2 af egfe | dB B2 AF F2 | DF F2 ABdf | 
 afef dB B2 | a3 g fd d2 :|  