Let f be a function for which f(x+1)=x2+3x−1. Find the sum of all values of z for which f(2z−1)=9.
−21
21
1
2
4