Pregunta de entrevista de Howell Instruments

How do you solve parenthesis problem?