Translation:How many pants do you need?
In American English you would never hear this without "pairs of" (pants do you need). Never realized how dumb that is until this exercise.
Cuantos and cuantas is the same thing? Just that cuantos is masculine because it is referring to pantalones? Which is masculine?