The eight term of a geometric progression is given by Sn= -[-3(sin^2x + cos^2x)^n + In e. Find the first term and common ratio.​