Craft a composition using the given motif while maintaining the musical form outlined by alphabet characters.
X:1
L:1/8
M:4/4
K:D
['A (Ad) .d.d .d2 (f>a) (gf)(ed) B2', "a2 f (g>f)(ga) b2 d'>b afTed e2"]  
X:1
L:1/8
M:4/4
K:D
 A | (Ad) .d.d .d2 (f>a) | (gf)(ed) B2 (c>d) | (e<c) A2 e<c A2 | (d>e)(f>g) a2 :: f | 
 (g>f)(ga) b2 d'>b | afTed e2 (d>e) |"^x" .f z (d>e)"^x" f z d>e |"^x" (f<d) B2"^x" (e<c) A2 | 
 d>ef>g a<f d2 | b2 g>b a<(fd>e) | A2 Tc2{Bc} d3 :|  