Answer ex4.17 (in progress)