Let $\alpha: \Bbb{R} \setminus\{1\} \to \Bbb{R}$ be the function defined by
\begin{align}
\alpha(x) = \dfrac{f(x)-6}{x-1}
\end{align}
Then, by assumption, $\lim\limits_{x \to 1}\alpha(x) = 10$. Also, it's easy to see that $\lim \limits_{x \to 1}(x-1) = 0$. Hence, by the rules for products of limits, we know that $\lim \limits_{x \to 1} \big(\alpha(x) \cdot (x-1) \big)$ exists and:
\begin{align}
\lim \limits_{x \to 1} \bigg(\alpha(x) \cdot (x-1) \bigg) &= \bigg(\lim_{x \to 1} \alpha(x) \bigg) \cdot \bigg( \lim_{x \to 1}(x-1)\bigg) \\
&= (10) \cdot 0 \\
&= 0 \tag{$*$}
\end{align}
But, now, let's examine the LHS more carefully. If $x \neq 1$, what is $\alpha(x) \cdot (x-1)$? Well, let's go back to the definition of $\alpha$. It should be clear that if $x \neq 1$, then $\alpha(x) \cdot(x-1) = f(x)-6$. Hence, what $(*)$ shows is that
\begin{align}
\lim_{x\to 1} \bigg( f(x) - 6 \bigg) = 0
\end{align}
or equivalently,
\begin{align}
\lim_{x \to 1} f(x) = 6
\end{align}
The thought process I had when approaching this question is that we are interested in the limit of $f(x)$, and $f(x)$ appears in the numerator. Typically, I would use the rule
\begin{align}
\lim_{x \to 1} \bigg(\dfrac{\phi(x)}{\psi(x)} \bigg) = \dfrac{\lim\limits_{x \to 1} \phi(x)}{\lim\limits_{x \to 1} \psi(x)}
\end{align}
but in this case, we cannot directly apply this rule, because this rule is only valid when $\lim\limits_{x \to 1} \psi(x) \neq 0$ (division by zero is your worst enemy in math!). In this case, the denominator $x-1$ clearly has a limit of $0$ as $x \to 1$.
Therefore, to get around this obstacle, the most natural thing to do is simply "get rid of" the denominator by multiplying the denominator throughout, and as you can see, this was pretty much the idea behind my proof above.
Hopefully this helps you with not only the proof, but more importantly how to think about approaching such problems.