Cisco interview question

Asked how I solved the above tests