draw distance time graph for uniform motion