Consider the following FOL sentence:
∀x(∃yLeftOf(x,y) ∧ ∃xRed(x))
I am aware that this technically is a sentence since every variable is bound but I'm struggling to parse what it means, especially the second reference to x. Does this just mean the the same as if it wasn't there, or does this refer to a new variable which is also called x but could be different to the one with the larger scope. Clarification would be much appreciated.
On top of this, mention of the meanings of ∀x(...∀x...), ∃x(...∃x...) and ∃x(...∀x...) would be helpful.
A multiple quantifier on the same variable has no effect.
$\forall x \ \text {Red}(x)$ means : "everything is Red". This is a sentence with no free occurrence of the variable $x$.
Thus, also if syntactically admissible, adding a new quantifier in front, like e.g. : $\exists x \ \forall x \ \text {Red}(x)$, does not change the meaning of the sentence.
Regading your example, we have to note that $\forall$ distribute over "and".
Thus, $∀x \ (∃y \ \text {LeftOf}(x,y) ∧ ∃x \ \text {Red}(x))$ is equivalent to :
which in turn is simply :