Here are two questions confused me.
Express each of the following statements as expression using quantified predicates and the domain "People."
1) Some high school students are not enrolled in class Calculus II.
My Try:
$S(x)$ means $x$ is a high school student, for $x \in \text{People}$
$E(x,y)$ means $x$ is enrolled in class $y$, for $x\in \text{People}$, and $y\in \text{Classes}$
$$\exists x ~:~ (S(x) \land \lnot E(x, \text{Calculus II})), x\in \text{People}$$
What I am not sure here is can I put the class title into the quantified predicates directly?
2) Every primary school student is younger than any high school student.
My Try:
$P(x)$ means $x$ is a primary school student, for $x\in \text{People}$
$H(x)$ means $x$ is a high school student, for $x\in \text{People}$
$Y(x,y)$ means $x$ is younger than $y$, for $x,y \in \text{People}$
So I got: $\forall x~:~((P(x) \land \forall y~:~(H(y))) \implies Y(x,y)) ~.~ x,y\in \text{People}$
before this solution, I tried
$$\forall x ~:~ \forall y ~:~ (P(x) \land H(y) \land Y(x,y)) ~.~ x,y\in \text{People}$$
But someone else notify me that using implication is more make sense. I am so confusing about why. And should I put $\forall y~:~H(y)$ inside?
For Part (1), I suggest instead of using $E(x, y)$, just use $C(x)$ and have it mean that a student $x$ is in Calc II. But your answer is correct still.
For part 2, writing
$$\forall x ~:~((P(x) \land \forall y ~:~(H(y))) \implies Y(x,y))$$
Means "Every person is a primary school student, and every high school student is older than him". That is not what you intend.
$$\forall x ~:~ \forall y ~:~ (P(x) \land H(y) \land Y(x,y))$$
This means "Every person is a primary student, and every person is a high school student, and every pair of people is younger than each other". That is also probably not what you intend.
Let's try "Every pair of people, if the first is a primary student and the second is a high school student, then the first is younger than the second.":
$$\forall x ~:~ \forall y ~:~ (P(x) \land H(y)) \implies Y(x, y)$$
which is:
$$\begin{array} {c} \forall x ~:~ \forall y ~:~ & \text{For every pair of people} \\ (P(x) & \text{The first is a primary student} \\ \land & \text{and} \\ H(y)) & \text{the second is a high school student} \\ \implies & \text{(If) then} \\ Y(x, y) & \text{The first is younger than the second} \end{array}$$
Note that your question specifies that the domain is people. So $\forall x ~:~ \forall y ~:~$ means for every pair of people $(x, y)$. It is incorrect to put "$, x,y \in \text{People}$" at the end of your statement: for one, "$.$" and "$,$" are not logical operators. It is a grammatical mistake to use them. Also, it is redundant, it is like saying "for every pair of integers that is a pair of integers...". You can just acknowledge that the domain is people and leave it out of formulas.