Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
M:2/4
K:D
['B>dBA B>AB/>d/e/f/ dB A2- AFEF']  
X:1
L:1/8
M:2/4
K:D
 B>dBA | B>AB/>d/e/f/ | dB A2- | AFEF | A4 | B>dBA | B>AB/>d/e/f/ | dB A2- | AFEF | AzAF | 
 A3 F/A/ | BdBA | F2 AF | EFEE | FAFE | A D2 E | D4 | DB,AF | E3 F | A2 z2 | BdBA | F2 AF | E>FED | 
 DA, B,2 | z2 d2 | e3 f | dedB | ABde | BAFE/F/ | A4 |]  