Linear entropy and squeezing of the interaction between two quantum system described by su (1, 1) and su(2) Lie group in presence of two external terms