Doubt on Function

It is periodic let say first one is f(x) its period will be 2pi/3and second one is g(x), its period will be pi/6 so total period will be 2pi/3 by LCM of numerator by HCF of denominator