The following two expressions produce the same graph. $$\frac{p}{\sin(x)+n\cos(x)} = \frac {p\csc(\arctan(n)+x)\sin(\arctan(n))}{n}.$$ How to prove that they are equal?
If drawn with polar coordinates, $x$ is $\theta$, the $p$ is the the point of intersection with the $y$-axis and $-n$ is the slope.

Hint:
$$\arctan(n) = y \implies n = \tan(y) \implies \sin(y) = \frac{n}{\sqrt{n^2+1}}, \text{and }\cos(y) = \frac{1}{\sqrt{n^2+1}}.$$ Also, $$\csc(\arctan(n)+x) = \frac{1}{\sin(\arctan(n)+x)} = \frac{1}{\sin(\arctan(n))\cos(x)+\cos(\arctan(n))\sin(x)}$$