Tessolve interview question

Voltage across loop