It is a linear equation, so it may be appropriate and sufficient to the graphselect three points wide apart to draw the graph.
Let x=0x=0, then we have 0-6y=120−6y=12 or y=12/(-6)=-2y=12−6=−2 and hence our first point is A(0,-2)A(0,−2).
Next let y=0y=0, then we have 2x-0=122x−0=12 or x=12/2=6x=122=6 and hence our second point is B(6,0)B(6,0).
Let us select another point with x=-6x=−6, then we have 2xx(-6)-6y=122×(−6)−6y=12 or -12-6y=12−12−6y=12 or 6y=-246y=−24 or y=24/(-6)=-4y=24−6=−4 and our tird point is C(-6,-4)C(−6,−4).
Table could be
Tablecolor(white)(XXXXX)xcolor(white)(XXXXX)yXXXXXxXXXXXy
Acolor(white)(XXXXXXX)0color(white)(XXXX)-2XXXXXXX0XXXX−2
Bcolor(white)(XXXXXXX)6color(white)(XXXXX)0XXXXXXX6XXXXX0
Acolor(white)(XXXXXX)-6color(white)(XXXX)-4XXXXXX−6XXXX−4
Now just join points to get the graph, which appears as below.
graph{2x-6y=12 [-9.75, 10.25, -7.44, 2.56]}