This first sentence is not quite used, while the second is correct.
If you do want the difference, I'm gonna tell you that "他很慢地走" emphasizes more the willing of the walker to walk slowly and could be equal to "He tries to walk slowly" and often we add "in order to" in the last to complete the meaning.
And "他走得很慢" emphasizes the result of the walker's action, slowly not fast. It's just like "他听得很仔细" = He listens carefully. not carelessly.