Pergunta de entrevista da empresa Citi

Specific questions about HTML and CSS problems, how would I solve them?