The Metropolitan Transit System finalized an agreement Wednesday with the city of Mendoza, Argentina, to donate as many as 39 older trolleys that began operating in San Diego in 1995, a move that will clear room for the newest generation of light rail vehicles for MTS.