Answer:
The correct answer is D. (Ham. 5.1.183-7)
Step-by-step explanation:
According to the MLA manual of style, if you already mention the name of the author in the text - in this case, Shakespeare - you must include the following information in the parenthetical citation: the italized title of the play - you can also abbreviate it - the act.scene.lines using arabic numbers or romans depending on the teacher's preference - never write the page number.
Following those steps, the correct answer would be (Ham. 5.1.183-7) with the play name italized.