This is Exercise 2.3.4 of Robinson's "A Course in the Theory of Groups (Second Edition)". My universal algebra is a little rusty, so this question is not what I'm looking for; besides, I ought to be able to use tools given in Robinson's book.
The Details:
On page 56, ibid.,
Let $F$ be a free group on a countably infinite set $\{x_1,x_2,\dots\}$ and let $W$ be a nonempty subset of $F$. If $w=x_{i_1}^{l_1}\dots x_{i_r}^{l_r}\in W$ and $g_1,\dots, g_r$ are elements of a group $G$, we define the value of the word $w$ at $(g_1,\dots,g_r)$ to be $w(g_1,\dots,g_r)=g_1^{l_1}\dots g_{r}^{l_r}$. The subgroup of $G$ generated by all values in $G$ of words in $W$ is called the verbal subgroup of $G$ determined by $W$,
$$W(G)=\langle w(g_1,g_2,\dots) \mid g_i\in G, w\in W\rangle.$$
On page 57, ibid.,
If $W$ is a set of words in $x_1, x_2, \dots$ and $G$ is any group, a normal subgroup $N$ is said to be $W$-marginal in $G$ if
$$w(g_1,\dots, g_{i-1}, g_ia, g_{i+1},\dots, g_r)=w(g_1,\dots, g_{i-1}, g_i, g_{i+1},\dots, g_r)$$
for all $g_i\in G, a\in N$ and all $w(x_1,x_2,\dots,x_r)$ in $W$. This is equivalent to the requirement: $g_i\equiv h_i \mod N, (1\le i\le r)$, always implies that $w(g_1,\dots, g_r)=w(h_1,\dots, h_r)$.
[The] $W$-marginal subgroups of $G$ generate a normal subgroup which is also $W$-marginal. This is called the $W$-marginal of $G$ and is written $$W^*(G).$$
On page 58, ibid.,
If $W$ is a set of words in $x_1, x_2, \dots $, the class of all groups $G$ such that $W(G)=1$, or equivalently $W^*(G)=G$, is called the variety $\mathfrak{B}(W)$ determined by $W$.
The Question:
Prove that every variety is closed with respect to forming subgroups, images, and subcartesian products.
Thoughts:
This must have made sense to me at least two times (although it took some searching to confirm it):
When I read Chapter 11 of "A Course in Universal Algebra" by Burris and Sankappanavar several years ago; this is tackled, as I said, here.
When I read Chapter 12 of Roman's "Fundamentals of Group Theory: An Advanced Approach" a few months ago. This is how I found out it's part of Birkhoff's Theorem. In the proof there, however, is the ever-infuriating "It is clear"; also: images are not covered.${}^\dagger$
I don't know why I've been stuck on it the last few days, but I have, so here I am.
My rough understanding is that the processes of taking of subgroups, images, and subcartesian products mean they each inherit the words in $W$, but this "understanding" is nothing more, I fear, than a restatement of the question.
The chapter in Robinson's book is on free groups and presentations, so I've looked in many of my combinatorial group theory books, like Magnus et al., but the theorem is nowhere obvious.
(I hope this is enough context.)
I'm looking for something more than "it is clear" and less than a deep dive into universal-algebra.
Please help :)
$\dagger$ But quotients are, which, I suppose, is equivalent . . . I don't know.