Navan interview question

Solve math equations, involves making graphs with dictionaries