Fannie Mae interview question

Algebra along with some math