g(z)=-π/4(2sinα)-1/2(-α-z)-1/2+π/4(2sinα)-1/2(α-z)-1/2.