However, the students don't know how many animals or insects there are, they only know how many legs each animal has and can only guess the number of animals.
N, g, r and b are our variables, because we can change them, But 4, 2 and 6 are our constants, because the number of legs each animal has never changes.