Geometrical matching and its influence on the melting transition of confined vortices in a mesoscopic triangle of Bi2Sr2CaCu2O8+y superconductor