Clinisys interview question

Solve a JS equation of some sort.