Siemens Interview Question

Html , logic questions not hard tho.