The question is:
Suppose $\lim_{x\rightarrow 1}\frac{f(x)-7}{x-1}=4$, find $\lim_{x\rightarrow 1}f(x)$.
The obvious answer is $7$, by going: $$\begin{align*} \lim_{x\rightarrow 1}\frac{f(x)-7}{x-1}&=4\\ \Rightarrow\lim_{x\rightarrow 1}[f(x)-7]&=4\times{\lim_{x\rightarrow 1}[x-1]}\\ \Rightarrow\lim_{x\rightarrow 1}[f(x)-7]&=0\\ \Rightarrow\lim_{x\rightarrow 1}f(x)&=7 \end{align*}$$ But this feels wrong. Specifically, the step of taking "${\lim_{x\rightarrow 1}[x-1]}$" over to the right hand side seems illegal. I justify this to myself by saying we can treat it like a number not equal to zero because it is a limit. But I don't believe my justification.