The population density of town Y made up of 50 square kilometre land area and…