The phase space of k-Essence f(R) gravity theory