Okay, so, I have been given this question to solve for x and get the possible graph solutions. But I looked at part of the answer and don't understand how some of it works.

So the answer is :

3(sinx / cosx) + 2cosx = 0

3sinx + 2cosx / cosx = 0

But then the next line just goes to

3sinx + 2cosx = 0

How can you divide it by cosx and not change the top? I'm so confused!

And then I don't know where I would go from here?