Work out the coordinates of the midpoint of line AB.
Select the correct answer from the list below:
A: (1,0)
B: (-1,1)
C: (0,-1)
D: (-1,0)
