IBM Interview Question

Ways to go about decoupling