Spectrum interview question

Subnetting