By computing and analytically continuing the first Fourier coefficient of a twisted double Eisenstein series, we obtain a Kohnen-Zagier type formula for the periods of the corresponding twisted Cohen kernel and then the rationality of such periods follows easily. This is a joint work with Yuanyi You.