$y = \frac{x}{2−2x}$
$y = \frac{f(x)}{g(x)} \rightarrow y' = \frac{f'(x) \cdot g(x) - g'(x)\cdot f(x)}{{g(x)}^2}$
$y = \frac{x}{2−2x}$
$y' = \frac{(2-2x)-(x \cdot (-2))}{{(2−2x)}^2}$ $\rightarrow$ $y' = \frac{(2-2x+2x)}{{(2−2x)}^2} = \frac{2}{{(2-2x)}^2}$
why cant i find the gradient with derivative?
Note that the point $(\color{red}1,\color{blue}{-1})$ does not belong to the curve $y=\frac{x}{2-2x}$. (Maybe, that is what puzzled you.) The tangent line to the curve must pass through this external point.
Let $\left(\color{red}{x_0},\color{blue}{\frac{x_0}{2-2x_0}}\right)$ be the tangent point on the curve. You must find the gradient (slope) of the tangent line at the point $\color{red}{x_0}$: $$f'(x_0)=\frac{2}{(2-2x_0)^2}=\frac{1}{2(1-x_0)^2}$$ Hence: $$\frac{\color{blue}{\frac{x_0}{2-2x_0}}-(\color{blue}{-1})}{\color{red}{x_0}-\color{red}1}=\frac2{(2-2x_0)^2} \Rightarrow x_0=3 \Rightarrow f'(x_0)=\frac18$$ So, the tangent line is: $y=\frac18x-\frac98$. See Desmos graph.