Pergunta de entrevista da empresa UST

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