Solutions to exercises from Labs 9.