[guided]The goal is to turn the equation in $V^*$ into a scalar inequality. Write $\langle \ell,v\rangle_{V^*,V}:=\ell(v)$ for the duality pairing between $V^*$ and $V$. Since $w'(t)$, $\mathcal A(t)w(t)$, and $g(t)$ are elements of $V^*$ for a.e. $t\in(0,T)$, the natural test object is $w(t)\in V$. Thus, for a.e. $t\in(0,T)$,
\begin{align*}
\langle w'(t),w(t)\rangle_{V^*,V}+\langle \mathcal A(t)w(t),w(t)\rangle_{V^*,V}=\langle g(t),w(t)\rangle_{V^*,V}.
\end{align*}
By the definition of $\mathcal A(t)$, the second term is
\begin{align*}
\langle \mathcal A(t)w(t),w(t)\rangle_{V^*,V}=a(t;w(t),w(t)).
\end{align*}
The Hilbert-triple time-regularity identity applies because $w\in L^2(0,T;V)$ and $w'\in L^2(0,T;V^*)$. Its conclusion is that $t\mapsto \|w(t)\|_H^2$ is absolutely continuous and
\begin{align*}
\frac{1}{2}\frac{d}{dt}\|w(t)\|_H^2=\langle w'(t),w(t)\rangle_{V^*,V}
\end{align*}
for a.e. $t\in(0,T)$. Therefore the tested equation becomes
\begin{align*}
\frac{1}{2}\frac{d}{dt}\|w(t)\|_H^2+a(t;w(t),w(t))=\langle g(t),w(t)\rangle_{V^*,V}.
\end{align*}
Now we use the Gårding coercivity assumption with $v=w(t)$. For a.e. $t\in(0,T)$,
\begin{align*}
a(t;w(t),w(t))\geq \alpha\|w(t)\|_V^2-\beta\|w(t)\|_H^2.
\end{align*}
Substituting this lower bound into the previous identity yields
\begin{align*}
\frac{1}{2}\frac{d}{dt}\|w(t)\|_H^2+\alpha\|w(t)\|_V^2\leq \beta\|w(t)\|_H^2+\langle g(t),w(t)\rangle_{V^*,V}.
\end{align*}
This is the fundamental energy inequality: the coercive part gives the useful $V$-norm term, while the lower-order loss is the term $\beta\|w(t)\|_H^2$ that will be controlled by the scalar integral estimate below.[/guided]