Myopia or nearsightedness is a condition that causes people to see objects only in the distance and not close up.…