In the following two compounds .
We have to compare basicity .
According to me CH$_3$ is an electron donating compound so in second compound it will increase charge density in nitrogen so second compound should be more basic.
But in the book it is written first is more basic . How