hOW MANY STUDENTS IN A CLASS IS POETS AND HOW MANY NOVELISTS WHEN THERE ARE 24 STUDENTS IN THE CLASS AND POETS OUTNUMBER NOVELISTS 5 TO 3

Assuming all students are either a Poet, or a novelist, but no students are both,

P+N=24

and P/N=5/3 or 3P=5N
P+N=24
3P-5N=0

5P+5N=120
3P-5N=0
8 P=120
P=15
then solve for N,
N=24-15....