Etiya interview question

Basic algorithm questions about multiplation and division.