A dynamical system of temperature-dependent sex linked inheritance