A pаtient is hаving issues with аutоnоmic system regulatiоn; their heart rate and respiratory rate are falling out of normal levels and they are having significant issues with their sleep-wake cycle. Which of the following brain structures are responsible for maintaining homeostasis and are contributing to the patient's symptoms?