Add solutions

Add solutions to three questions.