Integrits interview question

Subnetting question, how to solve certain subnet