Solution to the next exercises.