Pergunta de entrevista da empresa Policygenius

How would you go about displaying this data from an API call?