Electro-Motive interview question

Simple Basic