Okay, if we define the number of grade 11 students to be $a$, then there are $b=30-a$ grade 12 students. The number of ways to pick a pair of grade 11 students is:
$$N_1={a \choose 2}=\frac{a(a-1)}{2}$$
The number of ways to pick 2 grade 12 students is:
$$N_2={30-a \choose 2}=\frac{(30-a)(29-a)}{2}$$
And the number of ways to pick a pair consisting of one grade 11 student and 1 grade 12 student is:
$$N_3=a(30-a)$$
And so, using the information given in the problem, we may state:
$$2N_1+4N_2+3N_3=1392$$
Substitute for $N_i$, and you should ultimately obtain a linear equation in $a$. What do you find?