Patient HM suffered from profound anterograde amnesia, which impaired his ability to form new long-term declarative (explicit) memories. Therefore, the answer is b) explicit memory. The visuospatial sketchpad, phonological buffer, and implicit memory were not specifically affected in his case.