Compose music by adhering to the prescribed format and merging the given motif.
X:1
L:1/8
M:4/4
K:C
['AD (3(FED)', '(fg) afdf bgeg fdcd BAFA Bddc defg'  
X:1
L:1/8
M:4/4
K:C
 BEA Dec |[M:2/2][K:D]SOSOO .!fermata!PMTCO(MdB) | AD (3(FED) AD (3(FED) | Adcd fedc | 
 BE (3(GFE) BE (3(GFE) | Beed cdeg | (fd) (3(ddd) fdcA | Bdce dfag | fdec dBAG | FGEF D2 :: (fg) | 
 afdf bgeg | fdcd BAFA | Bddc defg | (3(aaa) (gb) a2 (fg) | abaf gfeg | fdec dfag | fdec dBAG | 
 FGEF D2 :|  