I have attached a pdf of my problem and attempted solution. I seem to be a factor of f'(z) out from the required solution, can anyone see where I've gone wrong?