OLA Electric Interview Question

How to approach in solving a problem