Solutions to some math problems.