It is R studio assignment.
I don’t know how to start this assignment.
There are about 6 codings named
Distance – function(vec1, vec2)
total_distance