Pergunta de entrevista da empresa BairesDev

Basic algebra and pattern recognition questions.