Fabric Interview Question

solving a complex operation problems