Cisco Interview Question

Given mask code to calculate feasible IPs. Thought about a while.