Need tuno if the 2 points form 1 side av the square, or if em at diagonal ends
step 1...get distans tween 2 points (7,2) & (1,4)
deltax=7-1=6
deltay=4-2=2
distans=sqrt(sum av squares)=sqrt(40)
=6.324555
If thats a side, area av square=40
if not, 6.32455=diagonal=root(2)*side length