Well I can't really answer how they work together to maintain homeostasis. But I can tell you that the muscular system helps the nervous system by protecting the nerves. And the nervous system returns the favor by sending messages to the muscles for muscle movement.