[guided]The only delicate point is that $v$ is not an independent variable after the Legendre transform. It is the function $v(x,y,p)$ selected by the equation
\begin{align*}
p=\partial_vL(x,y,v(x,y,p)).
\end{align*}
So, when differentiating $H$, every change in $(x,y,p)$ also changes $v$.
Take a tangent direction $(\dot x,\dot y,\dot p)$. The product rule applied to $p\cdot v(x,y,p)$ gives
\begin{align*}
\dot p\cdot v+p\cdot dv[\dot x,\dot y,\dot p].
\end{align*}
The chain rule applied to $L(x,y,v(x,y,p))$ gives
\begin{align*}
\partial_xL(x,y,v)\dot x+\partial_yL(x,y,v)\cdot\dot y+\partial_vL(x,y,v)\cdot dv[\dot x,\dot y,\dot p].
\end{align*}
Subtracting the second expression from the first, as required by the definition of $H$, gives
\begin{align*}
dH(x,y,p)[\dot x,\dot y,\dot p]=\dot p\cdot v+p\cdot dv[\dot x,\dot y,\dot p]-\partial_xL(x,y,v)\dot x-\partial_yL(x,y,v)\cdot\dot y-\partial_vL(x,y,v)\cdot dv[\dot x,\dot y,\dot p].
\end{align*}
Now use the inverse Legendre relation. Because $p=\partial_vL(x,y,v)$, the term
\begin{align*}
p\cdot dv[\dot x,\dot y,\dot p]
\end{align*}
is exactly the same scalar as
\begin{align*}
\partial_vL(x,y,v)\cdot dv[\dot x,\dot y,\dot p].
\end{align*}
They occur with opposite signs, so they cancel. What remains is
\begin{align*}
dH(x,y,p)[\dot x,\dot y,\dot p]=\dot p\cdot v-\partial_xL(x,y,v)\dot x-\partial_yL(x,y,v)\cdot\dot y.
\end{align*}[/guided]