Explain the distance formula. Then use it to calculate the distance between a(1,1) and b(7,-7)

the distance formula is just the Pythagorean Theorem in disguise. You want the length of the diagonal between two opposite corners of a rectangle.