UST Interview Question

given some html code and asked to write some xpaths and programs