IBM interview question

How to write locators in selenium