Solve the equation for z and state the domain.