Alarmco interview question

How to vary voltage input