What is the period of f(x)= 1/2 tan(3x+pi/2) and -2/3 cos(x/3-1/2)?

the period of

y = (1/2)tan (3x + π/2) is �π/3

the period of the other function is 2π/(1/3) = 6π