Craft a composition using the supplied motif as its basis and follow the prescribed musical arrangement.
X:1
L:1/8
M:9/8
K:D
['A2 F', 'B ABA A2 F'  
X:1
L:1/8
M:9/8
K:D
|: A2 F{G} F2 E D2 F | B2 B B2 A Bcd | A2 F F3 G2 A |1 ABA A2 F AdB :|2 ABA A2 F ABc |: 
 d3 f2 d c2 A | BcB B2 A Bcd | d2 d f2 d c2 B | ABA A2 F ABc | d2 d a2 d c2 A | BcB B2 A B2 c | 
 d2 b a2 f d2 B | ABA A2 F AdB ||  