Answer:
You can use distance formula,
i. e. underroot (x sub2 - x sub1 )^ 2 - (y sub2 - y sub1 )
where u take first point as x sub1 and x sub2
and,
take second point as y sub1 and y sub2
where,
sub = subscript
Try for urselves and let me know
Hope it helps
Hope it helps ALL THE BEST !!