Recall that cot(x) = cos(x)/sin(x). So, we can rewrite the equation as:
y = -2 - \frac{cos(x)}{sin(x)}
Now, we want to express y in terms of sin(x) and cos(x). To do this, we can multiply both sides of the equation by sin(x):
y sin(x) = -2 sin(x) - cos(x)
Show more…