For my first step, I would choose to either divide both sides or add sin3x to both sides. My professor in Pre-Calc told me I shouldn't divide any trig functions from either side. Despite this, I can only find a solution this way.
$$\frac{\cos3x}{-\sin3x}=1$$ $$-\tan3x=1$$ $$\tan3x=-1$$ Which would lead me to my method of solving trig equations which is: $$-\tan\,\epsilon\,Q2\quad-\tan\,\epsilon\,Q4$$ $$\tan x=1 \, at\,\frac{\pi}{4}$$ $$Q2:\pi-\frac{\pi}{4}=\frac{3\pi}{4}$$ $$Q4:2\pi-\frac{\pi}{4}=\frac{5\pi}{4}$$ However, this is only for $\tan x=-1$, my professor told me to apply the "modifications of x" after.
$$3x=\frac{3\pi}{4}=\frac{3\pi}{4}\div3=\frac{\pi}{4}$$ $$3x=\frac{5\pi}{4}=\frac{5\pi}{4}\div3=\frac{5\pi}{12}$$
Is this the correct way to solve this equation? I believe dividing out $\sin3x$ leads to domain or range errors. However, I tried solving by adding $\sin3x$ to both sides first but could not figure out how to isolate the trig functions. I will clarify anything needed in the comments.
Since sine and cosine functions can't be zero together, it means in your given equation, they are non-zero. Thus, you can divide by either of them without any loss of generality.
Also, if $x\in[0,2\pi]$ then $3x\in[0,6\pi]$. Thus, you are missing some solutions.
Also, if you are dividing $\cos3x$ by $\sin3x$, you are getting $\cot3x$. If you want $\tan3x$, you need to divide $\sin3x$ by $\cos3x$.