Fix equation in hint and tidy things up a bit

Reviewers: eater

Reviewed By: eater

Differential Revision: http://phabricator.khanacademy.org/D7243