Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
M:9/8
K:D
['efg B2 c', 'B c2'  
X:1
L:1/8
M:9/8
K:D
 dAB FGA/ D2 d | def fga c2 e | efg B2 c def | FGA Bcd cde | dAB FGA D2 d | efg fga c2 d | 
 efg B2 c d2 a | bfg f2 e e3 || ecA e2 c d2 B | fdB f2 B c2 F | dcB gec fdB | cFd c2 B B3 | 
 gec a2 f b2 B | c2 d e>fe cAe | a>ba a>ba g2 f | f>gf e>fe d3 |]  