Broadcom Interview Question

how to do network matching