Craft a composition using the given motif while maintaining the musical form outlined by alphabet characters.
X:1
L:1/16
M:3/8
K:D
['A2 A4 d2 f4 a2 ^gabaga e2>d2cB', ".c'.e.e'.e.b.e .c'.e.e'.e.b.e", 'd2e2f2 a2g2g2 (f2^e2f2) =e2>(f2ed) c2c2de f2fgef |1', 'f2fefa g4 eg']  
X:1
L:1/16
M:3/8
K:D
 A2 | A4 d2 | f4 a2 | ^gabaga | e2>d2cB | ABcdef | gfgeag | fafdec | d4 ::!f! fa |!p! d'2d'2d'2 | 
 d'2d'2d'2 | d'2d'c'd'c' | d'6 |!f! .c'.e.e'.e.b.e | .c'.e.e'.e.b.e | .c'.e.e'.e.b.e | a4 :: 
!p! (Ad) | f2>(g2f)e | d2e2f2 | a2g2g2 | (f2^e2f2) | =e2>(f2ed) | c2c2de | f2fgef |1 d4 ::2 d6 |: 
!p! B6 | c6 | d2f2f2 | c6 | d2f2f2 | c4 Ac | d2dcd2 | e2ede2 |"^O)" f2fefa | g4 eg |"^O)" f2fefa | 
 g4 eg | f2d2d2 | d2fedc | d2A2F2 |1 D6 :|2 !fermata!D4 :|  