This question is based on William Shakespeare’s Hamlet. The call made on Hamlet to avenge…