I'm a bit unhappy about having provided such confusing help, so I hope the homework is either done by now or that I do not spoil it too much by revealing the general method to calculate this.
Given a set of real functions f
i such that each function has the fundamental period S (for cos and sin, S would be 2pi), the sum of these functions
(1) f(t) = \sum_i a_i f_i(S\frac{n_i}{d_i}t + p_i)
where n
i and d
i are natural numbers and a
i <> 0 and p
i are arbitrary constants, then has the fundamental period of
(2) T = S\; lcm(\frac{n_i}{d_i})
where lcm is the least common multiple of all the fractions n_i/d_i. To calculate lcm of fractions one can use the method of decomposing them into prime products with negative powers, as described in [1].
In the case given above we have S = 2pi, n
1 = n
2 = 1, d
1 = 6 and d
2 = 8, which gives T = 2pi lcm(1/6,1/8) = 2pi lcm(2
-13
-1,2
-33
0) = 2pi 2
-13
0 = 2pi 1/2 = pi. [1]
http://en.wikipedia.org/wiki/Least_common_multiple##Fundamental_theorem_of_arithmetic