Apollo Finvest interview question

How to calculate loan EMIs