How would I solve the following question that is troubling me.
The question is
Find an equation for the tagnet line to the graph of $x+\sin(y-2x)=1$ at point $(1,2)$
I did the following using the chain
$1+\cos(y-2x)(\frac{dy}{dx})(-2)$
then I simplified to $\frac{dy}{dx}=\frac{2}{cos(y-2x)}$ so I pluged in $x$ and $y $ and got $\cos(0)$ on the denominator which is $1$.
But I am unsure if I did that part correctly my final answer is $y-2=2(x-1)$

