Pergunta de entrevista da empresa Cruise

The same question asked multiple times. Hard time explaining math. Don't know how to reduce 2nd order equation to linear equation.