Mechtronix System interview question

Straight forward