Siemens interview question

Html , logic questions not hard tho.