See the explanation and examples posted on the MLA website here: https://style.mla.org/works-with-the-same-title/
You basically need to create and add a qualifier in square brackets. And you can choose the type of qualifier as you see best distinguishes the resources.