Step-by-step explanation:
Let there be point X whose coordinates are (a2,b2) and point Y whose coordinates are (a1,b1)
Using distance formula ,
[tex] \sqrt{ ({a}^{2} - {a}^{1}) + ( {b}^{2} - {b}^{1} ) } [/tex]
[tex]where \: {a}^{2 } > {a}^{1} \: and \: \: {b}^{2} > {b}^{1} [/tex]
[tex] If \: {a}^{1} > {a}^{2} \: and \: {b}^{1}>{b}^{2} [/tex]
Distance formula will be
[tex]\sqrt{({a}^{1} - {a}^{2}) + ({b}^{1} - {b}^{2})}[/tex]