Having issue understanding display does not name type error message

Also these two } are double. There should only be one } to end the setup() function.