This is a basic question and I apologize if this program is using the latest version of the tikzmark library not available in CTAN. I posted as far as I got and also the image I am trying to replicate. Please assist in finishing the program.
\documentclass{article}
\usepackage{amsmath,mathtools,geometry}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\newbox\aebox
\newcommand\aecomment[2][0pt]{%%
\begin{lrbox}\aebox
\begin{minipage}[t]{2.5in}
\raggedright
\textcolor{blue}{#2}%%
\end{minipage}%%
\end{lrbox}%%
\raisebox{#1}[\height][0pt]{\usebox{\aebox}}}
\begin{document}
For $f(x)=\dfrac{1}{x}$, we have
\begin{align*}
f(x+h)&=\dfrac{1}{x+h} \\
\shortintertext{then}\\
f(x+h)-f(x)&=\dfrac{1}{x+h}-\dfrac{1}{x} \\ \\
&=\dfrac{1}{x+h} \cdot \textcolor{red}
{\dfrac{\tikzmarknode{C}{x}}{x}}-\dfrac{1}{x}\cdot \textcolor{red}
{\dfrac{x+h}{x+h}} && \aecomment[1.3ex]{\textcolor{red}{\tikzmarknode{A}
{}Multiplying by $1$ to get a common denominator}}\\
\end{align*}
\begin{tikzpicture}[overlay,remember picture]
\draw[red] ([yshift=3pt,xshift=-5pt]A.west) -- ++(-7pt,0pt)-- ++ (0pt,7pt);
\end{tikzpicture}
\end{document}
I am trying to recreate
I keep compiling errors each attempt to recreate the arrows.....



tikzmarkthat comes with the standard TeX distributions and is also available from CTAN.) – Nov 22 '18 at 00:30{}in\aecomment[1.3ex]{\textcolor{red}{\tikzmarknode{A}{}Multiplying by $1$ to get a common denominator}}\? – manooooh Nov 22 '18 at 02:25breqnis known to modify catcodes. You could try if these tricks here help, but there is a chance that you get ultimately told not to use the package.) – Nov 22 '18 at 02:44\tikzmarknode{A}{}just creates an empty node. In principle, this is not what\tikzmarknodeis made for, I think. On the other hand. it is also not wrong, strictly speaking. – Nov 22 '18 at 05:49