\documentclass[a4paper]{article}
\usepackage{amsmath,amssymb}
\usepackage{amsfonts}
\begin{document}
\begin{align*}
&\displaystyle \lim_{x \to 2}(2f(x)-g(x))&=5\\
\Leftrightarrow &\displaystyle \lim_{x \to 2}2f(x)-\lim_{x \to 2}g(x)&=5\tag{limit laws}\\
\Leftrightarrow &\displaystyle 2\cdot\lim_{x \to 2}f(x)-\lim_{x \to 2}g(x)&=5\tag{limit laws}
\end{align*}
\end{document}
I use & to align the equals signs but it's too far from the equation. How solve it?


alignat, but the “if and only if” symbols are wrong, because that's not what the limit laws say and it's very easy to make an example where the top limit exists, but the middle ones don't. – egreg Sep 22 '22 at 10:52