The function y repeats when 3x increases by 2 pi. That makes the "period" 2 pi/3.
Your y function does not contain a "time" term, t. You are really asking for a wavelength
determine the period y= -3 tan(3x+pi)+2
2 answers
actually, tan(x) has period pi.