You cannot work out x - 2y = 1 since this all depends on the values of x and y! If you are referring to "graph the function", then...
Determine the intercepts. x-intercept occurs where y = 0. Then, the x-intercept is (0,1). y-intercept occurs where x = 0. Then, the y-intercept is (0, -½).
Plot these points on the line and connect them with the straight line.