y=nr elevilor cu nota 7
z=nr elevilor cu nota 8
t=nr elevilor cu notele 9 si 10
x+y+z+t=24
z=2x
t=4y
=>x+y+z+t=x+y+2x+4y=24
3x+5y=24
3x si 24 divizibile cu 3 =>5y divizibil cu 3
=> y=3 (nu poate fi 6, pt ca 5·6>24)
deci sunt 3 elevi cu nota 7
3x+5·3=24
x=9:3
x=3 elevi cu note de 5 si 6
=>z=2·3=6 elevi cu nota 8
t=4·3=12 elevi cu note de 9 si 10