The vertices of a triangle are (2,0) (0,2) (4,6) then the equation of the median through the vertex (2,0) is
x+y-2=0
x=2
x+2y-2=0
2x+y-4=0
Midpoint of (0,2) and (4,6) is (2,4).
∴ Required line passes through (2,0) and (2,4) clearly required line equation is x=2