Ak answer

My submission to ex 1
available for ispection and (probably) subsequent deletion.