Fannie Mae Interview Question

Algebra along with some math