The line passing through the point (-2,5)and (1,a) is perpendicular to the line 2x-y-5=0, find the value of a​