I am having problems determining the horizontal and vertical tangents for $r=1-\sin(\theta)$.
I thought the tangent lines occurred at $\frac{5\pi}6$, $\frac\pi6$, $\frac{3\pi}2$ while the vertical tangent lines occurred at $\frac{11\pi}6$ and $\frac{7\pi}6$.
I solved for $x$ to get $x=\cos(\theta)-\sin(\theta)\cdot\cos(\theta)$ which produced $-\frac{\sqrt3}4$ for $\frac{5\pi}6$, $\frac{\sqrt3}4$ for $\frac\pi6$, $0$, and $\frac{3\pi}2$.