Random walks with square-root boundaries: the case of exact boundaries g(t)=c\sqrt{t+b}-a