how to plot using bearing and distance